Author: phd
Date: 2010-04-20 10:38:13 -0600 (Tue, 20 Apr 2010)
New Revision: 4175
Modified:
SQLObject/branches/0.11/docs/News.txt
SQLObject/branches/0.11/sqlobject/sqlite/sqliteconnection.py
Log:
A bug was fixed in SQLiteConnection.columnsFromSchema(): pass None as size/precision,
this is better than no value at all.
Modified: SQLObject/branches/0.11/docs/News.txt
===================================================================
--- SQLObject/branches/0.11/docs/News.txt 2010-04-17 01:35:37 UTC (rev 4174)
+++ SQLObject/branches/0.11/docs/News.txt 2010-04-20 16:38:13 UTC (rev 4175)
@@ -7,6 +7,12 @@
.. _start:
+SQLObject 0.11.6
+================
+
+* A bug was fixed in SQLiteConnection.columnsFromSchema(): pass None as
+ size/precision, this is better than no value at all.
+
SQLObject 0.11.5
================
Modified: SQLObject/branches/0.11/sqlobject/sqlite/sqliteconnection.py
===================================================================
--- SQLObject/branches/0.11/sqlobject/sqlite/sqliteconnection.py 2010-04-17 01:35:37 UTC (rev 4174)
+++ SQLObject/branches/0.11/sqlobject/sqlite/sqliteconnection.py 2010-04-20 16:38:13 UTC (rev 4175)
@@ -362,7 +362,7 @@
elif t.find('REAL') >= 0 or t.find('FLOAT') >= 0:
return col.FloatCol, {}
elif t.find('DECIMAL') >= 0:
- return col.DecimalCol, {}
+ return col.DecimalCol, {'size': None, 'precision': None}
elif t.find('BOOL') >= 0:
return col.BoolCol, {}
else:
|