From: Paul Johnston Date: Sun, 19 Aug 2007 14:51:36 +0000 (+0000) Subject: One more change of preparer() to identifier_preparer X-Git-Tag: rel_0_4beta4~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53ff3d297caf084f7e4a8d03d9f2e8b3bacd0565;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git One more change of preparer() to identifier_preparer --- diff --git a/lib/sqlalchemy/databases/mssql.py b/lib/sqlalchemy/databases/mssql.py index b6a961c2df..1985d2112c 100644 --- a/lib/sqlalchemy/databases/mssql.py +++ b/lib/sqlalchemy/databases/mssql.py @@ -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()