summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-01-17 10:19:54 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-01-17 10:19:54 -0500
commit6e8395c84218941c27f458a62a2120a407619dfa (patch)
tree174325d74ea4b5603cd705b9ca204956681c49fe /lib/sqlalchemy
parent44576792ab80540abbf7da88badd5bd05953c478 (diff)
downloadsqlalchemy-6e8395c84218941c27f458a62a2120a407619dfa.tar.gz
fix incorrect quoting in mysql indexes
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/dialects/mysql/base.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py
index 6bc9bd4a4..5f324e5dd 100644
--- a/lib/sqlalchemy/dialects/mysql/base.py
+++ b/lib/sqlalchemy/dialects/mysql/base.py
@@ -1519,9 +1519,7 @@ class MySQLDDLCompiler(compiler.DDLCompiler):
columns = [self.sql_compiler.process(expr, include_table=False)
for expr in index.expressions]
- name = preparer.quote(
- self._prepared_index_name(index),
- index.quote)
+ name = self._prepared_index_name(index)
text = "CREATE "
if index.unique: