From 6e8395c84218941c27f458a62a2120a407619dfa Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 17 Jan 2013 10:19:54 -0500 Subject: fix incorrect quoting in mysql indexes --- lib/sqlalchemy/dialects/mysql/base.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') 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: -- cgit v1.2.1