Commit Graph
17 Commits
Author SHA1 Message Date
Cédric Krier 512808e151 Add LRUDictTransaction
issue5293
review22771002
2016-03-03 23:27:38 +01:00
Nicolas Évrard 2fef479575 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:51:57 +01:00
Cédric Krier 7459aab3d1 Use CURRENT_TIMESTAMP instead of NOW
CURRENT_TIMESTAMP is the correct SQL standard way.

issue4837
review15531002
2015-07-01 19:41:49 +02:00
Cédric Krier 34fb7d7471 Drop all cache of a database when it is dropped
issue4584
review11121002
2015-03-25 18:56:52 +01:00
Cédric Krier c144f8c349 Fix most flake8 errors
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier e0b995abbe Refactore configuration to allow easy extention
issue3627
review7401002
2014-09-03 23:32:01 +02:00
Cédric Krier bc6acd08ee Drop support of Python 2.6
review2691002
2014-01-31 00:02:03 +01:00
Nicolas Évrard 3215eab818 Cache.set returns the value in order to prevent using temporary variable
review543002
2013-09-16 12:29:41 +02:00
Cédric Krier fc6c6cfdda Migration to python-sql
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method

review1001002
2013-09-06 22:32:37 +02:00
Cédric Krier 1e60085854 Use a better hashing method for context
repr doesn't guarantee to have always the same string

review642002
2013-02-04 19:59:05 +01:00
Cédric Krier d6b453a516 Fix Cache to use the local thread context 2012-12-11 22:57:04 +01:00
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Ian Wilson 0226447254 Fix typo.
Add missing self paramater.

issue2088
review49010
2011-07-09 18:30:30 -07:00
Cédric Krier 587567077f Add LRUDict to use as cache
issue2033
review31005
2011-06-14 11:44:26 +02:00
Mathias Behrle 5f8b9ca407 Adding missing datetime import. 2010-09-21 12:21:21 +02:00
Cédric Krier aa5816be0f Move Cache in trytond.cache and convert outside tools for issue1653 2010-08-24 20:54:27 +02:00