Author: phd
Date: 2010-04-20 10:42:17 -0600 (Tue, 20 Apr 2010)
New Revision: 4177
Modified:
SQLObject/trunk/docs/News.txt
SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py
Log:
Merged revision 4176 from branch 0.12: a bugfix ported from SQLObject 0.11.6.
Modified: SQLObject/trunk/docs/News.txt
===================================================================
--- SQLObject/trunk/docs/News.txt 2010-04-20 16:40:17 UTC (rev 4176)
+++ SQLObject/trunk/docs/News.txt 2010-04-20 16:42:17 UTC (rev 4177)
@@ -40,6 +40,11 @@
* Renamed db_encoding to dbEncoding in UnicodeStringValidator.
+SQLObject 0.12.4
+================
+
+* A bugfix ported from `SQLObject 0.11.6`_.
+
SQLObject 0.12.3
================
@@ -113,6 +118,12 @@
* Removed the last remained string exceptions.
+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/trunk/sqlobject/sqlite/sqliteconnection.py
===================================================================
--- SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py 2010-04-20 16:40:17 UTC (rev 4176)
+++ SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py 2010-04-20 16:42:17 UTC (rev 4177)
@@ -365,7 +365,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:
|