]> 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 17:19:03 +0000 (12:19 -0500)
commite68173bf7d296b2948abed06f79c7cbd0ab66b0d
tree33ac8c8b5155660d289ddc842670340a3895048a
parent8e041e24182c8f4b7762ebbecd494f7dbf86b818
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
doc/build/changelog/unreleased_14/9033.rst [new file with mode: 0644]
lib/sqlalchemy/sql/dml.py
test/orm/dml/test_update_delete_where.py
test/sql/test_external_traversal.py