]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixed casing of SET clause
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Apr 2007 02:25:56 +0000 (02:25 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Apr 2007 02:25:56 +0000 (02:25 +0000)
lib/sqlalchemy/databases/mysql.py

index cc503215ae6caae142072432c47a9bc0affc5c58..c33b515b58f4eb08998418cf3038da971c3aba03 100644 (file)
@@ -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()