Author: phd
Date: 2007-10-22 04:45:31 -0600 (Mon, 22 Oct 2007)
New Revision: 3107
Modified:
SQLObject/branches/0.7/docs/News.txt
SQLObject/branches/0.7/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.7/docs/News.txt
===================================================================
--- SQLObject/branches/0.7/docs/News.txt 2007-10-22 03:04:11 UTC (rev 3106)
+++ SQLObject/branches/0.7/docs/News.txt 2007-10-22 10:45:31 UTC (rev 3107)
@@ -27,8 +27,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.7/sqlobject/col.py
===================================================================
--- SQLObject/branches/0.7/sqlobject/col.py 2007-10-22 03:04:11 UTC (rev 3106)
+++ SQLObject/branches/0.7/sqlobject/col.py 2007-10-22 10:45:31 UTC (rev 3107)
@@ -637,7 +637,7 @@
return 'BOOL'
def _mysqlType(self):
- return "TINYINT"
+ return "BOOL"
def _sybaseType(self):
return "BIT"
|