]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Sweep through UPDATE ordered_values a second time
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 13 Aug 2020 00:14:15 +0000 (20:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 13 Aug 2020 02:00:43 +0000 (22:00 -0400)
commit65da69910944ccbad0c6d008b94ae8271aae4762
treefa20af57e5c928672124865859b57a7fe9a094d4
parentc7cf63d64e2b47cdabcda622af86513ec192f4a4
Sweep through UPDATE ordered_values a second time

The fix in 180ae7c1a53385f72b0047496ac001ec5099cc3e
didn't do much as the code was not preserving parameter
order at all, in fact.    Reworked stmt_parameters to be
delivered in the correct order up front and preserve
throughout crud.py which was not being done at all
before.

Fixes: #5510
Change-Id: I0795c71df73005a25d1bbf216732d41b41e11a5f
lib/sqlalchemy/sql/crud.py
lib/sqlalchemy/sql/dml.py
test/sql/test_update.py