From 6e8395c84218941c27f458a62a2120a407619dfa Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 17 Jan 2013 10:19:54 -0500 Subject: [PATCH] fix incorrect quoting in mysql indexes --- lib/sqlalchemy/dialects/mysql/base.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index 6bc9bd4a49..5f324e5dd9 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: -- 2.47.2