]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
One more change of preparer() to identifier_preparer
authorPaul Johnston <paj@pajhome.org.uk>
Sun, 19 Aug 2007 14:51:36 +0000 (14:51 +0000)
committerPaul Johnston <paj@pajhome.org.uk>
Sun, 19 Aug 2007 14:51:36 +0000 (14:51 +0000)
lib/sqlalchemy/databases/mssql.py

index b6a961c2df490f445415e92e10cf986beaaec1e2..1985d2112c904ed650092253d2fad0eb1eba8f1c 100644 (file)
@@ -597,7 +597,7 @@ class MSSQLDialect(default.DefaultDialect):
             raise exceptions.NoSuchTableError(table.name)
 
         # We also run an sp_columns to check for identity columns:
-        cursor = connection.execute("sp_columns " + self.preparer().format_table(table))
+        cursor = connection.execute("sp_columns " + self.identifier_preparer.format_table(table))
         ic = None
         while True:
             row = cursor.fetchone()