]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Behavioral improvement: empty
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Sep 2011 20:03:23 +0000 (16:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Sep 2011 20:03:23 +0000 (16:03 -0400)
commit840aab3beacdd1fe2a000dcd761d0514035cff94
treef50542c02df4aef4573fac611c536f48ba47af39
parent1492cc634ee67afb5ad03f0d56caca9fc3bbcc0e
  - Behavioral improvement: empty
    conjunctions such as and_() and or_() will be
    flattened in the context of an enclosing conjunction,
    i.e. and_(x, or_()) will produce 'X' and not 'X AND
    ()'. [ticket:2257].
CHANGES
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py
test/sql/test_compiler.py