From: Rick Morrison Date: Wed, 6 Jun 2007 17:13:13 +0000 (+0000) Subject: (no commit message) X-Git-Tag: rel_0_3_9~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72113780f3a88c2ae8c8e568b4833702c72c5788;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git --- diff --git a/lib/sqlalchemy/databases/mssql.py b/lib/sqlalchemy/databases/mssql.py index 46fe990734..1cadbd14d0 100644 --- a/lib/sqlalchemy/databases/mssql.py +++ b/lib/sqlalchemy/databases/mssql.py @@ -573,6 +573,9 @@ class MSSQLDialect_pymssql(MSSQLDialect): def supports_sane_rowcount(self): return True + def max_identifier_length(self): + return 30 + def do_rollback(self, connection): # pymssql throws an error on repeated rollbacks. Ignore it. # TODO: this is normal behavior for most DBs. are we sure we want to ignore it ?