]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle Sequence in _process_multiparam_default_bind
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 26 Apr 2021 17:30:29 +0000 (13:30 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 26 Apr 2021 18:59:15 +0000 (14:59 -0400)
commit87b551c26014c2bf2406ebebb47ee9d3769da9bb
tree5cd1d3384022e6c9e99c1255806a091ec7da2c2a
parent1443945e61f1f113e46a5044315a91558d4d232a
Handle Sequence in _process_multiparam_default_bind

Fixed issue where usage of an explicit :class:`.Sequence` would produce
inconsistent "inline" behavior for an :class:`.Insert` construct that
includes multiple values phrases; the first seq would be inline but
subsequent ones would be "pre-execute", leading to inconsistent sequence
ordering. The sequence expressions are now fully inline.

Fixes: #6361
Change-Id: Ie16794ec0e19979a7e6c8d1bef5716a9fc199889
doc/build/changelog/unreleased_14/6361.rst [new file with mode: 0644]
lib/sqlalchemy/sql/crud.py
test/sql/test_insert.py
test/sql/test_sequences.py