Changes between Initial Version and Version 1 of Ticket #15145, comment 2
- Timestamp:
- Feb 26, 2011, 6:30:44 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15145, comment 2
initial v1 3 3 One possible source of the problem is in {{{WhereNode.make_atom()}}}. When called on an {{{in}}} lookup with an empty list, it raises an {{{EmptyResultSet}}} which drops it from the query entirely. It should first check to see if it is part of an exclude, but I'm not sure that information is available at that point. 4 4 5 This should either be a wontfix (check your list before excluding on it), or a not-small refactor of the make_atom/as_sql portion of WhereNodeto pass state into inner nodes of the tree.5 This should either be a wontfix (check your list before excluding on it), or a not-small refactor of the make_atom/as_sql portion of {{{WhereNode}}} to pass state into inner nodes of the tree. 6 6 7 7 I'll upload a non-solution patch to illustrate the problem. This breaks one other test, of course: {{{aggregation_regress.AggregationTests.test_empty_filter_aggregate}}}