diff roundup/backends/back_sqlite.py @ 5175:e1e40674a0bc

Implement double-precision Number .. as an option to the 'Number' property.
author Ralf Schlatterbeck <rsc@runtux.com>
date Mon, 12 Dec 2016 13:53:47 +0100
parents 9cebf686c552
children 198b6e810c67
line wrap: on
line diff
--- a/roundup/backends/back_sqlite.py	Fri Dec 09 10:52:59 2016 +0100
+++ b/roundup/backends/back_sqlite.py	Mon Dec 12 13:53:47 2016 +0100
@@ -54,6 +54,13 @@
     # used by some code to switch styles of query
     implements_intersect = 1
 
+    # used in generic backend to determine if db supports
+    # 'DOUBLE PRECISION' for floating point numbers. Note that sqlite
+    # already has double precision as its standard 'REAL' type. So this
+    # is set to False here.
+
+    implements_double_precision = False
+
     hyperdb_to_sql_datatypes = {
         hyperdb.String : 'VARCHAR(255)',
         hyperdb.Date   : 'VARCHAR(30)',

Roundup Issue Tracker: http://roundup-tracker.org/