]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- set max identifier length to 31
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 May 2007 17:55:41 +0000 (17:55 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 May 2007 17:55:41 +0000 (17:55 +0000)
CHANGES
lib/sqlalchemy/databases/firebird.py

diff --git a/CHANGES b/CHANGES
index 193025ab297097d10852984f44d396c7d53d7e1f..1c13273d9d9554c59cec61a0779f08a844db739e 100644 (file)
--- 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
index d05b4065076cd54ed2cc778dc50180142bb4e1ea..0f55c856c19e8fb93a2e5b2322a695e7e92d9daf 100644 (file)
@@ -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(*)