diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-05 08:38:54 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-05-05 09:54:46 -0400 |
commit | 5af854606b6aabb7eb07311572acafe01cc73737 (patch) | |
tree | fdaec23109fa995a84bdcf54d205f3779f76edbf /lib/sqlalchemy/dialects/mysql/pymysql.py | |
parent | 88c0ff61fa07cfa1d9caf24e6ead11851894d098 (diff) | |
download | sqlalchemy-5af854606b6aabb7eb07311572acafe01cc73737.tar.gz |
Parenthesize for empty not in
Fixed regression caused by the "empty in" change just made in
:ticket:`6397` 1.4.12 where the expression needs to be parenthesized for
the "not in" use case, otherwise the condition will interfere with the
other filtering criteria.
also amends StrSQLCompiler to use the newer "empty IN" style for
its compilation process.
Fixes: #6428
Change-Id: I182a552fc0d3065a9e38c0f4ece2deb143735c36
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/pymysql.py')
0 files changed, 0 insertions, 0 deletions