From 34a35b10525e5124756d06552a14a5f61807b5cb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 8 May 2007 17:55:41 +0000 Subject: - set max identifier length to 31 --- lib/sqlalchemy/databases/firebird.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/sqlalchemy/databases/firebird.py') diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py index d05b40650..0f55c856c 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(*) -- cgit v1.2.1