Re: [Sqlalchemy-tickets] [sqlalchemy] #2823: Wrong sqlalchemy.sql.expression.false() / true() compi
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-09-16 22:43:34
|
#2823: Wrong sqlalchemy.sql.expression.false() / true() compilation when using SQL
Server dialect
-------------------------------------------+-------------------------------
Reporter: leavittx | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: mssql | Severity: no triage
Resolution: | selected yet
Progress State: needs questions answered | Keywords:
-------------------------------------------+-------------------------------
Comment (by zzzeek):
OK, I may be reading this wrong but isn't that much more simply (and
efficiently, no nesting) just `or_(*[_filter_children_of_node_helper(arg)
for arg in args])` ? it seems like it currently is spitting out a
recursive `or_(or_(or_ ...` structure which will cause a recursion
overflow if you go too far.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2823#comment:5>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|