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

2010-11-30 Thread Markus Korn
** Changed in: zeitgeist
   Status: New = Triaged

** Changed in: zeitgeist
   Importance: Undecided = Critical

** Changed in: zeitgeist
 Assignee: (unassigned) = Markus Korn (thekorn)

-- 
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: Triaged

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)
---



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-11-30 Thread Markus Korn
** Changed in: zeitgeist
   Status: Triaged = Fix Committed

-- 
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: Fix Committed

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)
---



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2010-11-30 Thread Seif Lotfy
** Changed in: zeitgeist
Milestone: None = 0.7.0

-- 
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: Fix Committed

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)
---



___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp