diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-06-22 19:01:42 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-06-22 19:01:42 +0000 |
commit | f2af07217f81588e50cb5889603d5858472d9b3d (patch) | |
tree | 39a7bbcffa9488a96d15d22b519f332ea9ab13d1 /lib/sqlalchemy/sql/compiler.py | |
parent | 8c1f08c8aa9f7fe8253323a457b207a260435dde (diff) | |
download | sqlalchemy-f2af07217f81588e50cb5889603d5858472d9b3d.tar.gz |
fixed the quote() call within dropper.visit_index()
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 28685cabc..c8324d753 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -943,7 +943,7 @@ class SchemaDropper(DDLBase): return not self.checkfirst or self.dialect.has_table(self.connection, table.name, schema=table.schema) def visit_index(self, index): - self.append("\nDROP INDEX " + self.preparer.quote(index, self._validate_identifier(index.name, False))) + self.append("\nDROP INDEX " + self.preparer.quote(self._validate_identifier(index.name, False), index.quote)) self.execute() def drop_foreignkey(self, constraint): |