Commit Graph
6 Commits
Author SHA1 Message Date
Cédric Krier 6e9fdd8c4f Allow to use EXTRACT EPOCH with MySQL
(transplanted from fc31fe2b207fe294ce00e33430798f0616c48f3e)
2010-06-06 11:39:30 +02:00
Cédric Krier c162fd3583 Use only 15 decimal digits for MySQL double to match the Python float 2010-03-12 12:22:55 +01: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 596c8fce39 Use double instead of float to store Float fields in MySQL
The precision of MySQL float is not enough to handle all Python floats.
From http://docs.python.org/tutorial/floatingpoint.html:
"...almost all platforms map Python floats to IEEE-754 “double precision”"
2010-03-11 12:02:29 +01:00
Cédric Krier cb63509356 Add MySQL backend 2010-02-25 16:43:04 +01:00