Closed
Bug 487660
Opened 16 years ago
Closed 16 years ago
Places depends on a buggy behavior of SQLite's SUBSTR
Categories
(Toolkit :: Places, defect, P2)
Toolkit
Places
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: sdwilsh, Assigned: sdwilsh)
References
Details
(Keywords: fixed1.9.0.11, verified1.9.1)
Attachments
(2 files)
(deleted),
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
dveditz
:
approval1.9.0.11+
|
Details | Diff | Splinter Review |
Places depends on SUBSTR to treat the second parameter of 0 as the start of the string. However, 1 is supposed to be that. Before SQLite 3.6.11, SQLite let this pass, but it was a bug. We depended on it.
This is a blocker because linux distributions generally use system SQLite, and they could upgrade to 3.6.11 or newer and break us. This needs to be fixed all the way back to 1.9.0 sadly :(
Flags: blocking1.9.1?
Flags: blocking1.9.0.10?
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #371906 -
Flags: review?(dietrich)
Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs review dietrich]
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Comment 2•16 years ago
|
||
Comment on attachment 371906 [details] [diff] [review]
v1.0
nit: would be nice to fix these to consistently use a space between parameters to functions in SQL, or to not.
r=me
Attachment #371906 -
Flags: review?(dietrich) → review+
Updated•16 years ago
|
Whiteboard: [needs review dietrich]
Assignee | ||
Comment 3•16 years ago
|
||
With nits addressed:
http://hg.mozilla.org/mozilla-central/rev/4da51fbf7245
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Flags: in-litmus-
Resolution: --- → FIXED
Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 371906 [details] [diff] [review]
v1.0
Maybe this patch will get approval before blocking for 1.9.0
Attachment #371906 -
Flags: approval1.9.0.10?
Assignee | ||
Comment 5•16 years ago
|
||
Comment on attachment 371906 [details] [diff] [review]
v1.0
Actually, I'd need to cook up a special branch patch, so I'll wait to see if this is wanted on branch
Attachment #371906 -
Flags: approval1.9.0.10?
Assignee | ||
Comment 6•16 years ago
|
||
Keywords: fixed1.9.1
Priority: -- → P2
Comment 7•16 years ago
|
||
Not blocking but we'll approve the 1.9.0 patch when you have one.
Flags: blocking1.9.0.10? → wanted1.9.0.x+
Comment 9•16 years ago
|
||
Comment on attachment 373672 [details] [diff] [review]
branch v1.0
Approved for 1.9.0.10, a=dveditz for release-drivers
Attachment #373672 -
Flags: approval1.9.0.10? → approval1.9.0.10+
Assignee | ||
Comment 10•16 years ago
|
||
Checking in toolkit/components/places/src/nsNavHistory.cpp;
new revision: 1.309; previous revision: 1.308
Checking in toolkit/components/places/src/nsNavHistoryExpire.cpp;
new revision: 1.47; previous revision: 1.46
Keywords: fixed1.9.0.10
Comment 11•15 years ago
|
||
Verified fixed based on check-ins on trunk and 1.9.1. We have a test so lets turn the in-testsuite flag to +.
You need to log in
before you can comment on or make changes to this bug.
Description
•