]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Call nextval() on sequence when doing INSERT from SELECT
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Dec 2016 18:39:56 +0000 (13:39 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Dec 2016 18:39:56 +0000 (13:39 -0500)
commitd5bb919aa6d5b9961f85987dfaa58d5999910d15
tree3bf4c7b652e67b160584f3c28a654b572b02ce07
parentafb3a528330fb9c0669d946cd065ff96bba8573d
Call nextval() on sequence when doing INSERT from SELECT

Fixed bug where an INSERT from SELECT where the source table contains
an autoincrementing Sequence would fail to compile correctly.

Change-Id: I41eb9f65789a4007712ae61ed5fa23a9839a5128
Fixes: #3877
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/sql/crud.py
test/sql/test_insert.py