fix for LP: #672965 breaks returns for AJ and Synapse
Bug #683146 reported by
Seif Lotfy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
Critical
|
Markus Korn |
Bug Description
running revision 1639+ breaks returns for find_events when called from AJ and Synapse.
I always get:
DEBUG:zeitgeist
This can be fixed by just making the queries to use the index.
So just remove the + from infront of the timestamp
---
if min_time != 0:
where.
if max_time != sys.maxint:
where.
---
Related branches
Changed in zeitgeist: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Markus Korn (thekorn) |
Changed in zeitgeist: | |
status: | Triaged → Fix Committed |
Changed in zeitgeist: | |
milestone: | none → 0.7.0 |
Changed in zeitgeist: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is critical of course. But I am really baffled that not using the
indexes can cause the query to fail altogether. This should not affect
the result set in any way - only the execution time.
I'd really like to see a unit test that catches this error.