Cédric Krier
e60274bd27
Fix MySQL tests
...
- Force UTC timezone on MySQL connection
- Add 1s sleep to test check timestamp
review2801002
2014-01-21 21:12:55 +01:00
Cédric Krier
c46a026c40
Refactore Transaction to add close and autocommit
...
review2151002
2013-12-18 18:09:43 +01:00
Cédric Krier
5ad27258fd
Fix flake8
2013-10-05 18:18:42 +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
5e01f5c068
Fix flake8
2013-02-27 22:50:31 +01:00
Cédric Krier
a09d9a54a1
Simplify module information with python configuration
...
review363001
2012-06-08 19:32:23 +02:00
Cédric Krier
7a39bbdd39
Fix MySQLdb to use time for TIME instead of timedelta
2012-05-17 12:59:58 +02:00
Antoine Smolders
9adf7dc850
DatabaseIntegrityError and DatabaseOperationalError were redefined to None.
...
issue2422
review333002
2012-04-19 19:41:44 +02:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Cédric Krier
be0e5c54a9
Simplify workflow engine
...
- Remove workflow module
- Add ir.model.button for access rights
review256001
2012-03-25 00:15:17 +01:00
Max Holtzberg
95182a38cb
Substitute CAST types and SPLIT_PART function to according to the MySQL specs
...
issue2345
review267002
2012-03-02 19:07:42 +01:00
Nicolas Évrard
0a471486e0
correct pyflake errors
...
review164003
2011-11-02 15:49:38 +01:00
Cédric Krier
1ab6964687
Add readonly on Transaction
...
review80005
2011-08-21 11:05:51 +02:00
Cédric Krier
852f04dc51
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:16:15 +02:00
Cédric Krier
e177c09547
Remove FLUSH TABLES WITH READ LOCK on MySQL backend
...
It creates deadlock
2011-03-06 05:02:33 +01:00
Cédric Krier
8687b8914d
Handle closing of file objects
2011-01-08 20:29:00 +01:00
Cédric Krier
c10d4c68fe
Fix MySQL cast varchar for http://bugs.mysql.com/bug.php?id=34564
2010-10-14 00:02:52 +02:00
Cédric Krier
483afed26a
Catch only Exception according to PEP 352
2010-07-08 19:53:39 +02:00
Cédric Krier
173f7df140
Allow to use EXTRACT EPOCH with MySQL
2010-06-06 11:39:30 +02:00
Cédric Krier
8951e54c86
Add decimal digits validation on fields and fix Float and Numeric for lost of precision
2010-03-11 15:27:40 +01:00
Cédric Krier
4488f99593
Use Tryton CHECK constraint for MySQL
...
MySQL has only partial constraints, it doesn't manage CHECK.
So we use Tryton to check those constraints.
2010-03-11 12:08:15 +01:00
Cédric Krier
cb63509356
Add MySQL backend
2010-02-25 16:43:04 +01:00