]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- adjusted operator precedence of NOT to match '==' and others, so that
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Sep 2007 20:28:26 +0000 (20:28 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Sep 2007 20:28:26 +0000 (20:28 +0000)
commit8c14291b6d634604a6da3bbc9c965e0de3084933
tree3d558e3550e6a3bf41b3f73a1bf29a2ee77714f7
parent5ba8a25afe9c4b84b74d5e51a641992b5d44097a
- adjusted operator precedence of NOT to match '==' and others, so that
  ~(x <operator> y) produces NOT (x <op> y), which is better compatible with MySQL.
   [ticket:764].  this doesn't apply to "~(x==y)" as it does in 0.3 since ~(x==y)
   compiles to "x != y", but still applies to operators like BETWEEN.
CHANGES
lib/sqlalchemy/sql/expression.py
test/sql/select.py