Merge lp:~tdfischer/zeitgeist/common-where into lp:~zeitgeist/zeitgeist/bluebird
Proposed by
Trever Fischer
Status: | Merged |
---|---|
Approved by: | Siegfried Gevatter |
Approved revision: | 422 |
Merged at revision: | 422 |
Proposed branch: | lp:~tdfischer/zeitgeist/common-where |
Merge into: | lp:~zeitgeist/zeitgeist/bluebird |
Diff against target: |
129 lines (+56/-41) 1 file modified
src/db-reader.vala (+56/-41) |
To merge this branch: | bzr merge lp:~tdfischer/zeitgeist/common-where |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Siegfried Gevatter | Approve | ||
Review via email:
|
Description of the change
Consolidates a lot of WHERE SQL generation into a common method for re-use by other components.
To post a comment you must log in.
Hey,
Thanks for splitting this out :).
> public uint32[] find_event_ ids_for_ clause (WhereClause where,
> uint max_events, uint result_type,
> BusName? sender=null) throws EngineError
This method isn't using `sender' anywhere (nor should it), so drop that argument.
> public WhereClause get_where_ clause_ for_query
Same here.