Author: phd
Date: 2006-06-16 01:53:25 -0600 (Fri, 16 Jun 2006)
New Revision: 1824
Modified:
SQLObject/branches/0.7-bugfix/sqlobject/mysql/mysqlconnection.py
Log:
client_encoding has not been set.
Modified: SQLObject/branches/0.7-bugfix/sqlobject/mysql/mysqlconnection.py
===================================================================
--- SQLObject/branches/0.7-bugfix/sqlobject/mysql/mysqlconnection.py 2006-06-16 01:32:59 UTC (rev 1823)
+++ SQLObject/branches/0.7-bugfix/sqlobject/mysql/mysqlconnection.py 2006-06-16 07:53:25 UTC (rev 1824)
@@ -136,7 +136,6 @@
colClass, kw = self.guessClass(t)
if self.kw['use_unicode'] and colClass is col.StringCol:
colClass = col.UnicodeCol
- if self.client_encoding: kw['dbEncoding'] = self.client_encoding
kw['name'] = soClass.sqlmeta.style.dbColumnToPythonAttr(field)
kw['notNone'] = not nullAllowed
if default and t.startswith('int'):
|