]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Revisited Firebird's keywords set
authorLele Gaifax <lele@metapensiero.it>
Tue, 15 Sep 2009 08:52:25 +0000 (08:52 +0000)
committerLele Gaifax <lele@metapensiero.it>
Tue, 15 Sep 2009 08:52:25 +0000 (08:52 +0000)
commit0515dc24801c45c8f561b6d7e9bfdb7a2086315a
treefac1af8889103bd0d543291e448af3cc0db6dc50
parent75848ce2c82626707fbb1329c7197637579c0b95
Revisited Firebird's keywords set
Several keywords were missing, and various words were wrongly included
in the set. I took the current list of keywords out of "keywords.cpp", filtering
out effective reserverd words with a simple script that created a dummy table
with a field named after each word.
While this fixes a few tests (for example, those creating a table with a "start"
field, a Firebird reserverd words not previously registered as such), it may
introduce a backward incompatibility with previous SA releases: should this be
not wanted, I will add previous non-reserved-words to the set.
lib/sqlalchemy/dialects/firebird/base.py