]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
ensure whereclause, returning copied as tuples
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 28 Dec 2022 17:04:07 +0000 (12:04 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 28 Dec 2022 19:24:29 +0000 (14:24 -0500)
commit510caee2e68d8665577d67bbc4afda7bbca31f9f
tree0958619986859d414f5cf5f928f7e1d55a7c87b2
parent9b879cee072e112f43f70c5b42df4577798a6eb5
ensure whereclause, returning copied as tuples

Fixed issue in the internal SQL traversal for DML statements like
:class:`_dml.Update` and :class:`_dml.Delete` which would cause among other
potential issues, a specific issue using lambda statements with the ORM
update/delete feature.

Fixes: #9033
Change-Id: I76428049cb767ba302fbea89555114bf63ab8687
(cherry picked from commit e68173bf7d296b2948abed06f79c7cbd0ab66b0d)
doc/build/changelog/unreleased_14/9033.rst [new file with mode: 0644]
lib/sqlalchemy/sql/dml.py
test/orm/test_update_delete.py
test/sql/test_external_traversal.py