From: Mike Bayer Date: Tue, 8 May 2007 17:55:41 +0000 (+0000) Subject: - set max identifier length to 31 X-Git-Tag: rel_0_3_8~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a35b10525e5124756d06552a14a5f61807b5cb;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - set max identifier length to 31 --- diff --git a/CHANGES b/CHANGES index 193025ab29..1c13273d9d 100644 --- a/CHANGES +++ b/CHANGES @@ -16,6 +16,8 @@ - mysql - support for column-level CHARACTER SET and COLLATE declarations, as well as ASCII, UNICODE, NATIONAL and BINARY shorthand. +- firebird + - set max identifier length to 31 -extensions - new association proxy implementation, implementing complete proxies to list, dict and set-based relation collections diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py index d05b406507..0f55c856c1 100644 --- a/lib/sqlalchemy/databases/firebird.py +++ b/lib/sqlalchemy/databases/firebird.py @@ -154,6 +154,9 @@ class FBDialect(ansisql.ANSIDialect): def preparer(self): return FBIdentifierPreparer(self) + def max_identifier_length(self): + return 31 + def has_table(self, connection, table_name, schema=None): tblqry = """ SELECT count(*)