]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- MySQL boolean symbols "true", "false" work again. 0.9's change
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Sep 2014 20:44:42 +0000 (16:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Sep 2014 20:44:42 +0000 (16:44 -0400)
commit7b766591b05ceeb9c47588d6326a6be56a230594
treefe0e35edbf3332a1c43428add875691d3b86ab4b
parent583287259fbb6d143696b418756ed68e6110cd2d
- MySQL boolean symbols "true", "false" work again.  0.9's change
in :ticket:`2682` disallowed the MySQL dialect from making use of the
"true" and "false" symbols in the context of "IS" / "IS NOT", but
MySQL supports this syntax even though it has no boolean type.
MySQL remains "non native boolean", but the :func:`.true`
and :func:`.false` symbols again produce the
keywords "true" and "false", so that an expression like
``column.is_(true())`` again works on MySQL.
fixes #3186
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_query.py