← Back to team overview

zeitgeist team mailing list archive

[Bug 683146] [NEW] fix for LP: #672965 breaks returns for AJ and Synapse

 

Public bug reported:

running revision 1639+ breaks returns for find_events when called from AJ and Synapse.
I always get:
DEBUG:zeitgeist.engine:Found 0 events IDs in 0.007377s
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.add("+timestamp >= ?", min_time)
if max_time != sys.maxint:
	where.add("+timestamp <= ?", max_time)
---

** Affects: zeitgeist
     Importance: Undecided
         Status: New

-- 
fix for LP: #672965 breaks returns for AJ and Synapse
https://bugs.launchpad.net/bugs/683146
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
running revision 1639+ breaks returns for find_events when called from AJ and Synapse.
I always get:
DEBUG:zeitgeist.engine:Found 0 events IDs in 0.007377s
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.add("+timestamp >= ?", min_time)
if max_time != sys.maxint:
	where.add("+timestamp <= ?", max_time)
---





Follow ups

References