From b1ec42fb1d0f855f5276cfff67e77a0b824b7298 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 26 Apr 2007 02:25:56 +0000 Subject: [PATCH] fixed casing of SET clause --- lib/sqlalchemy/databases/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.47.2