]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed issue where a primary key column that has a Sequence on it,
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Dec 2013 15:26:09 +0000 (10:26 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Dec 2013 15:26:35 +0000 (10:26 -0500)
commitae3c57f492c5ade1afd8b010f7d9f2db740eb595
tree7c13aba96c4a09f4e7be6fe0d0f6114597308fe1
parent2042493228a92fede38f39cd144d6ea74abbcb21
- Fixed issue where a primary key column that has a Sequence on it,
yet the column is not the "auto increment" column, either because
it has a foreign key constraint or ``autoincrement=False`` set,
would attempt to fire the Sequence on INSERT for backends that don't
support sequences, when presented with an INSERT missing the primary
key value.  This would take place on non-sequence backends like
SQLite, MySQL. [ticket:2896]
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/sql/compiler.py
test/sql/test_defaults.py