From: Mike Bayer Date: Thu, 26 Apr 2007 02:25:56 +0000 (+0000) Subject: fixed casing of SET clause X-Git-Tag: rel_0_3_7~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ec42fb1d0f855f5276cfff67e77a0b824b7298;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fixed casing of SET clause --- diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index cc503215ae..c33b515b58 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -377,7 +377,7 @@ class MySQLDialect(ansisql.ANSIDialect): cs = cs.tostring() case_sensitive = int(cs) == 0 - decode_from = connection.execute("show variables like 'character_Set_results'").fetchone()[1] + decode_from = connection.execute("show variables like 'character_set_results'").fetchone()[1] if not case_sensitive: table.name = table.name.lower()