]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
remove None exception in IN
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Feb 2025 13:37:04 +0000 (08:37 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Feb 2025 19:08:51 +0000 (14:08 -0500)
commit79505b03b61f622615be2d2bc1434671c29b0cc5
tree4890168049b77bc91aa9ab5c967fed6d1b19cb7d
parent87c8d04d379a70aafb189f18801f0f375d99262b
remove None exception in IN

Fixed SQL composition bug which impacted caching where using a ``None``
value inside of an ``in_()`` expression would bypass the usual "expanded
bind parameter" logic used by the IN construct, which allows proper caching
to take place.

Fixes: #12314
References: #12312
Change-Id: I0d2fc4e15c73407379ba368dd4ee32660fc66259
doc/build/changelog/unreleased_20/12314.rst [new file with mode: 0644]
lib/sqlalchemy/sql/coercions.py
test/dialect/mssql/test_compiler.py
test/sql/test_compare.py
test/sql/test_operators.py