Author: phd
Date: 2007-10-22 04:46:19 -0600 (Mon, 22 Oct 2007)
New Revision: 3108
Modified:
SQLObject/branches/0.8/docs/News.txt
SQLObject/branches/0.8/sqlobject/col.py
Log:
Changed the implementation type in BoolCol under MySQL
from TINYINT to BOOL (which is a synonym for TINYINT(1)).
Modified: SQLObject/branches/0.8/docs/News.txt
===================================================================
--- SQLObject/branches/0.8/docs/News.txt 2007-10-22 10:45:31 UTC (rev 3107)
+++ SQLObject/branches/0.8/docs/News.txt 2007-10-22 10:46:19 UTC (rev 3108)
@@ -207,8 +207,11 @@
-------------
* Changed the default value for 'varchar' in BLOBColumns from 'auto' to False
- (so that the default type for the columns in MySQL is BLOB, not TEXT).
+ (so that the default type for the columns in MySQL is BLOB, not TEXT).
+* Changed the implementation type in BoolCol under MySQL from TINYINT to
+ BOOL (which is a synonym for TINYINT(1)).
+
SQLObject 0.7.8
===============
Modified: SQLObject/branches/0.8/sqlobject/col.py
===================================================================
--- SQLObject/branches/0.8/sqlobject/col.py 2007-10-22 10:45:31 UTC (rev 3107)
+++ SQLObject/branches/0.8/sqlobject/col.py 2007-10-22 10:46:19 UTC (rev 3108)
@@ -640,7 +640,7 @@
return 'BOOL'
def _mysqlType(self):
- return "TINYINT"
+ return "BOOL"
def _sybaseType(self):
return "BIT"
|