Merge "UniqueConstraint named and escaped twice"

This commit is contained in:
Jenkins 2014-03-05 08:46:17 +00:00 committed by Gerrit Code Review
commit 0ffaaae935

View File

@ -275,7 +275,7 @@ class ANSIConstraintCommon(AlterTableVisitor):
ret = cons.name
else:
ret = cons.name = cons.autoname()
return self.preparer.quote(ret, cons.quote)
return ret
def visit_migrate_primary_key_constraint(self, *p, **k):
self._visit_constraint(*p, **k)