]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
negate True/False separately from other elements
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Apr 2019 13:40:03 +0000 (09:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Apr 2019 17:41:10 +0000 (13:41 -0400)
commite9737a9d9b1becc7dba1661f17b247db3213c511
tree16adb6ff444c1559e32a3a778b9328d50415b453
parent6758a459597e5221607a81a693bd98352bb1c94f
negate True/False separately from other elements

Fixed issue where double negation of a boolean column wouldn't reset
the "NOT" operator.

Fixes: #4618
Change-Id: Ica280a0d6b5b0870aa2d05c4d059a1e559e6b12a
(cherry picked from commit 18f25f50353d9736e6638266585b2cb3ef7b0ea4)
doc/build/changelog/unreleased_13/4618.rst [new file with mode: 0644]
lib/sqlalchemy/sql/elements.py
test/sql/test_operators.py