]> 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:09 +0000 (10:26 -0500)
commit65bd6ec96602ab8b755b9bc25638957a09477de6
treee6474cea1324cf0921cc542ce38d153d86bd814c
parent5402e2f5dde680ea5715f81a2e6c3ccf7274afeb
- 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