Author: phd
Date: 2007-10-09 08:57:05 -0600 (Tue, 09 Oct 2007)
New Revision: 3024
Modified:
SQLObject/branches/0.7/docs/News.txt
SQLObject/branches/0.7/sqlobject/col.py
Log:
Fixed StringCol and UnicodeCol: use sqlType with MSSQL.
Modified: SQLObject/branches/0.7/docs/News.txt
===================================================================
--- SQLObject/branches/0.7/docs/News.txt 2007-10-08 21:26:13 UTC (rev 3023)
+++ SQLObject/branches/0.7/docs/News.txt 2007-10-09 14:57:05 UTC (rev 3024)
@@ -19,6 +19,8 @@
* Fixed a bug in sqlbuilder._LikeQuoted() - call sqlrepr() on the
expression to escape single quotes if the expression is a string.
+* Fixed StringCol and UnicodeCol: use sqlType with MSSQL.
+
Other Changes
-------------
Modified: SQLObject/branches/0.7/sqlobject/col.py
===================================================================
--- SQLObject/branches/0.7/sqlobject/col.py 2007-10-08 21:26:13 UTC (rev 3023)
+++ SQLObject/branches/0.7/sqlobject/col.py 2007-10-09 14:57:05 UTC (rev 3024)
@@ -480,6 +480,8 @@
return type
def _mssqlType(self):
+ if self.customSQLType is not None:
+ return self.customSQLType
if not self.length:
type = 'varchar(4000)'
elif self.varchar:
|