Merge lp:~midori/midori/noDayInQuery into lp:midori

Proposed by Cris Dywan
Status: Merged
Approved by: gue5t gue5t
Approved revision: 6905
Merged at revision: 6905
Proposed branch: lp:~midori/midori/noDayInQuery
Merge into: lp:midori
Diff against target: 11 lines (+0/-1)
1 file modified
midori/midori-historydatabase.vala (+0/-1)
To merge this branch: bzr merge lp:~midori/midori/noDayInQuery
Reviewer Review Type Date Requested Status
gue5t gue5t Approve
Review via email: mp+253874@code.launchpad.net

Commit message

Don't bind :day in HistoryDatabase.query

To post a comment you must log in.
Revision history for this message
gue5t gue5t (gue5t) wrote :

This fixes the incessant warnings when typing into the url bar for me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'midori/midori-historydatabase.vala'
2--- midori/midori-historydatabase.vala 2014-01-29 21:52:10 +0000
3+++ midori/midori-historydatabase.vala 2015-03-23 19:25:30 +0000
4@@ -58,7 +58,6 @@
5 string real_filter = "%" + filter.replace (" ", "%") + "%";
6 statement = prepare (sqlcmd,
7 ":filter", typeof (string), real_filter,
8- ":day", typeof (int64), day,
9 ":limit", typeof (int64), max_items);
10 } catch (Error error) {
11 critical (_("Failed to select from history: %s"), error.message);

Subscribers

People subscribed via source and target branches

to all changes: