Closed GoogleCodeExporter closed 9 years ago
This is the issue with older version of SQLAlchemy(0.7.x or 0.8x), release note
of
SQLAlchemy(http://docs.sqlalchemy.org/en/rel_0_9/changelog/migration_09.html)
also stats that sql.true() will not work for backend which doesn't supports
native Boolean constants with older version of SQLALchemy(0.7.x or 0.8.x)
Original comment by rahul.pr...@in.ibm.com
on 10 Jul 2014 at 1:00
Issue 157 has been merged into this issue.
Original comment by rahul.pr...@in.ibm.com
on 15 Jul 2014 at 12:16
I have committed the changes requires and suggested by matt in google code git
branch. It is working fine in my environment please give a try and let me know
how it is working for you.
Original comment by rahul.pr...@in.ibm.com
on 15 Jul 2014 at 12:18
Rahul, your fix has a typo, it should be visit_false:
def visit_fase(self, expr, **kw):
Also, you don't need the supports_native_boolean = False since that's the
default in SQLCompiler.
Original comment by mattrie...@gmail.com
on 16 Jul 2014 at 12:54
Thanks matt, I have modified the typo error.
yes, Its not mandatory to "supports_native_boolean = False" but its good to
have it.
Original comment by rahul.pr...@in.ibm.com
on 16 Jul 2014 at 4:12
Fix is released with ibm_db_sa-0.3.2
Original comment by rahul.pr...@in.ibm.com
on 5 Nov 2014 at 6:34
[root@rhel62 ~]# rpm -qa | grep sqlalchemy python-sqlalchemy-0.7.9-1
I have already report the same issue to sqlalchemy, but it seems that it is not an issue of sqlalchemy. https://bitbucket.org/zzzeek/sqlalchemy/issue/3120