Commit Graph
32 Commits
Author SHA1 Message Date
Nicolas Évrard 2fef479575 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:51:57 +01:00
Sharoon Thomas 89de660c52 Move webdav into a separate module
issue4703
review7101002
2016-01-16 19:20:30 +01:00
Cédric Krier 6cd05ed6fe Add has_multirow_insert
There are still many databases that doesn't support this SQL-92 syntax.

issue4881
review19331002
2015-07-28 08:04:29 +02:00
Cédric Krier eddb17dea7 Re-factor dict* methods on each cursor into the interface
issue4807
review7241002
2015-06-15 01:18:07 +02:00
Cédric Krier 52ff97b165 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:02:01 +02:00
Cédric Krier 87ea42c126 Unquote username and password from URI
issue4747
review7131002
2015-05-19 09:48:07 +02:00
Mariano Benedettini 53194e3784 Fix database dump when port is specified in db uri
Since changeset 01399128964f, the uri port is an integer and so it must be
convert to string for command line.

issue4490
review6861002
2015-01-16 13:52:25 +01:00
Cédric Krier c144f8c349 Fix most flake8 errors
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier 41bd15b31e Use sequence as parameter of query for MySQLdb >= 1.2.5
issue4149
review7531002
2014-09-04 00:19:39 +02:00
Cédric Krier e0b995abbe Refactore configuration to allow easy extention
issue3627
review7401002
2014-09-03 23:32:01 +02:00
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