Midori.Database.Prepare should throw an exception when the user tries to bind a non-existing variable
Bug #1432200 reported by
The Lemon Man
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
High
|
Cris Dywan |
Bug Description
Quoting the example made on IRC, it should prevent expressions like
'SELECT a FROM b WHERE c=:d'.bind ('d', 3)
to succeed.
Related branches
lp:~midori/midori/bindWrongParameter
- Paweł Forysiuk: Approve
-
Diff: 99 lines (+47/-5)2 files modifiedmidori/midori-database.vala (+10/-5)
tests/database.vala (+37/-0)
Changed in midori: | |
status: | New → Confirmed |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → High |
milestone: | none → 0.6.0 |
Changed in midori: | |
status: | Confirmed → Fix Committed |
Changed in midori: | |
status: | Fix Committed → Fix Released |
Changed in midori: | |
milestone: | 0.6.0 → 0.5.10 |
To post a comment you must log in.