diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-04-26 02:25:56 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-04-26 02:25:56 +0000 |
commit | b1ec42fb1d0f855f5276cfff67e77a0b824b7298 (patch) | |
tree | 4b8fb712f440c7d9e15c35d07f1d8d7741b4f874 /lib/sqlalchemy/databases/mysql.py | |
parent | 7edf9a37210c9b41f9d0dc3038eb9faa62c82e42 (diff) | |
download | sqlalchemy-b1ec42fb1d0f855f5276cfff67e77a0b824b7298.tar.gz |
fixed casing of SET clause
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index cc503215a..c33b515b5 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() |