Closed
Bug 618315
(SQLite3.7.4)
Opened 14 years ago
Closed 14 years ago
Upgrade to SQLite 3.7.4
Categories
(Toolkit :: Storage, defect)
Toolkit
Storage
Tracking
()
RESOLVED
FIXED
mozilla2.0b10
People
(Reporter: sdwilsh, Assigned: zpao)
References
Details
(Whiteboard: [tb31needed])
Attachments
(2 files)
(deleted),
patch
|
sdwilsh
:
approval2.0+
christian
:
approval1.9.2.17+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
sdwilsh
:
review+
sdwilsh
:
approval2.0+
christian
:
approval1.9.2.17+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•14 years ago
|
Depends on: SQLite3.7.3
Updated•14 years ago
|
Whiteboard: [tbneeds]
Reporter | ||
Comment 1•14 years ago
|
||
Looks like we want this on branch for Thunderbird, so requesting blocking.
blocking2.0: --- → ?
Updated•14 years ago
|
blocking2.0: ? → final+
Comment 2•14 years ago
|
||
Thanks Shwan. semantics, but this is sev=major (or critical) because it blocks thunderbird topcrashes (same could be said for bug 598306
Will SQLite3.7.3 be landing soon?
And, will there need to be a baking period before 3.7.4 will land? Or will it be a quick hop with no wait?
Severity: normal → major
Reporter | ||
Updated•14 years ago
|
blocking2.0: final+ → .x
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> Will SQLite3.7.3 be landing soon?
It will land when the places branch merges, which should be soon.
> And, will there need to be a baking period before 3.7.4 will land? Or will it
> be a quick hop with no wait?
We'll want to let 3.7.4 bake on trunk before we land it on branch.
Comment 4•14 years ago
|
||
(In reply to comment #3)
> (In reply to comment #2)
> > Will SQLite3.7.3 be landing soon?
> It will land when the places branch merges, which should be soon.
>
> > And, will there need to be a baking period before 3.7.4 will land? Or will it
> > be a quick hop with no wait?
> We'll want to let 3.7.4 bake on trunk before we land it on branch.
ah, so 3.7.3 is in the places branch. I didn't ask that very well - so is the following what you envision?
land places branch on trunk (with 3.7.3)
bake needed??
land 3.7.4 on trunk
bake
land 3.7.4 on branch
shake
Reporter | ||
Comment 5•14 years ago
|
||
(In reply to comment #4)
> land places branch on trunk (with 3.7.3)
> bake needed??
> land 3.7.4 on trunk
> bake
> land 3.7.4 on branch
> shake
Something like this, although bake time from 3.7.3 landing to 3.7.4 doesn't need to be big at all.
Comment 6•14 years ago
|
||
We need a timed plan to bring 3.7.4 to branch, bug 595530 has still to be fixed there.
Comment 7•14 years ago
|
||
(In reply to comment #5)
> (In reply to comment #4)
> > land places branch on trunk (with 3.7.3)
> > bake needed??
> > land 3.7.4 on trunk
> > bake
> > land 3.7.4 on branch
> > shake
> Something like this, although bake time from 3.7.3 landing to 3.7.4 doesn't
> need to be big at all.
done - 3.7.3 landed 598306 comment 9 2010-12-16.
hopefully 3.7.4 can land the week before thunderbird 3.1.8 builds start? (jan 21)
Updated•14 years ago
|
Whiteboard: [tbneeds] → [tb31needs]
Assignee | ||
Comment 8•14 years ago
|
||
Assignee: sdwilsh → paul
Assignee | ||
Comment 9•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Attachment #502038 -
Flags: review?(sdwilsh)
Reporter | ||
Comment 10•14 years ago
|
||
Comment on attachment 502038 [details] [diff] [review]
Mozilla Changes
>+++ b/db/sqlite3/README.MOZILLA
>@@ -1,24 +1,25 @@
>-This is sqlite 3.7.3
>+This is sqlite 3.7.4
>
>--- Shawn Wilsher <me@shawnwilsher.com>, 10/2010
>+-- Paul OâShannessy <paul@oshannessy.com>, 01/2011
>
> See http://www.sqlite.org/ for more info.
>
> We have a mozilla-specific Makefile.in in src/ (normally no
> Makefile.in there) that we use to build.
>
> To move to a new version:
>
> Simply copy the sqlite3.h and sqlite3.c files from the amalgamation of sqlite.
>
> Also copy test_quota.c from the full source package.
>
>-Be sure to update SQLITE_VERSION accordingly in $(topsrcdir)/configure.in.
>+Be sure to update SQLITE_VERSION accordingly in $(topsrcdir)/configure.in as
>+well as the version number at the top of this file.
>
> -- Shawn Wilsher <me@shawnwilsher.com> 01/2008
This is you, not me now ;)
r=sdwilsh
Attachment #502038 -
Flags: review?(sdwilsh) → review+
Assignee | ||
Comment 11•14 years ago
|
||
Ben, the changes to test_quota.c cause the build to fail. Without the changes we build fine. The diff: http://hg.mozilla.org/try/diff/11130bade42e/db/sqlite3/src/test_quota.c
The errors:
/home/pao/mozilla/mozilla-central/storage/src/mozStorageStatementWrapper.cpp: In member function ‘virtual nsresult mozilla::storage::StatementWrapper::QueryInterface(const nsIID&, void**)’:
/home/pao/mozilla/mozilla-central/storage/src/mozStorageStatementWrapper.cpp:66: warning: ‘mozIStorageStatementWrapper’ is deprecated (declared at ../../dist/include/mozIStorageStatementWrapper.h:157)
/home/pao/mozilla/mozilla-central/storage/src/mozStorageStatementWrapper.cpp:66: warning: ‘mozIStorageStatementWrapper’ is deprecated (declared at ../../dist/include/mozIStorageStatementWrapper.h:157)
In file included from /home/pao/mozilla/mozilla-central/storage/src/mozStorageService.cpp:58:
/home/pao/mozilla/mozilla-central/db/sqlite3/src/test_quota.c: In function ‘int quotaOpen(sqlite3_vfs*, const char*, sqlite3_file*, int, int*)’:
/home/pao/mozilla/mozilla-central/db/sqlite3/src/test_quota.c:312: error: invalid conversion from ‘void*’ to ‘quotaFile*’
/home/pao/mozilla/mozilla-central/db/sqlite3/src/test_quota.c: In function ‘int sqlite3_quota_set(const char*, sqlite3_int64, void (*)(const char*, sqlite3_int64*, sqlite3_int64, void*), void*, void (*)(void*))’:
/home/pao/mozilla/mozilla-central/db/sqlite3/src/test_quota.c:672: error: invalid conversion from ‘void*’ to ‘quotaGroup*’
Is this something we should report upstream, something we should change in mozIStorageWrapper, or should we adjust the message in README.MOZILLA to say "maybe you should update test_quota.c"?
Reporter | ||
Comment 12•14 years ago
|
||
(In reply to comment #11)
> Is this something we should report upstream, something we should change in
> mozIStorageWrapper, or should we adjust the message in README.MOZILLA to say
> "maybe you should update test_quota.c"?
upstream!
Assignee | ||
Comment 13•14 years ago
|
||
FWIW, Ben said he hit this before, so it's not particular to 3.7.4
Comment 14•14 years ago
|
||
(In reply to comment #13)
> FWIW, Ben said he hit this before, so it's not particular to 3.7.4
So how did it solve it earlier ? Does this blocks 3.7.4 from landing ?
(In reply to comment #14)
> So how did it solve it earlier ? Does this blocks 3.7.4 from landing ?
You just have to add two static_cast<> to the malloc lines that fail to build.
Assignee | ||
Comment 16•14 years ago
|
||
FWIW, only failures on Try were known random oranges and it doesn't look like there were any huge variations in Talos:
http://perf.snarkfest.net/compare-talos/index.html?oldRevs=4a3866321a14&newRev=e1d9b2de1cbc&submit=true
Comment 17•14 years ago
|
||
Requesting blocking for 1.9.2.next on this bug. Thunderbird really needs this - we seem to get a peak of these crashes on every release and we'd really like to get this in for the next security release after the one that is just about to be cut.
This will also need bug 598306 to land as well.
The expectations in other bugs had been that these would land much sooner which is why I hadn't been pushing the issue until now.
blocking1.9.2: --- → ?
Comment 18•14 years ago
|
||
Actually, based on the description of the update, I would like this version in Firefox 4 as well, Places can get a performance win dropping the wal shared memory file and going back to exclusive mode.
Assignee | ||
Comment 19•14 years ago
|
||
I have the patch ready to go for m-c. I haven't done any testing at all on 1.9.2. The patch would be different (1.9.2 is still on sqlite 3.7.1).
Updated•14 years ago
|
blocking1.9.2: ? → .15+
status1.9.2:
--- → wanted
Reporter | ||
Updated•14 years ago
|
Alias: SQLite3.7.4
Reporter | ||
Updated•14 years ago
|
Attachment #502038 -
Flags: approval2.0+
Reporter | ||
Updated•14 years ago
|
Attachment #502036 -
Flags: approval2.0+
Assignee | ||
Comment 20•14 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/c249c39e6f21 and http://hg.mozilla.org/mozilla-central/rev/73c1b27a22e9.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
OS: Windows 7 → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
Reporter | ||
Updated•14 years ago
|
Blocks: SQLite3.7.5
Comment 21•14 years ago
|
||
Comment on attachment 502036 [details] [diff] [review]
SQLite Changes
Requesting approval for 1.9.2 branch - 3.7.4 has been on trunk since beta 10 and Thunderbird need to upgrade to fix some crashers.
Attachment #502036 -
Flags: approval1.9.2.15?
Updated•14 years ago
|
Attachment #502038 -
Flags: approval1.9.2.15?
Comment 22•14 years ago
|
||
Comment on attachment 502036 [details] [diff] [review]
SQLite Changes
a=LegNeato for 1.9.2.16
Attachment #502036 -
Flags: approval1.9.2.16? → approval1.9.2.16+
Comment 23•14 years ago
|
||
Comment on attachment 502038 [details] [diff] [review]
Mozilla Changes
a=LegNeato for 1.9.2.16
Attachment #502038 -
Flags: approval1.9.2.16? → approval1.9.2.16+
Assignee | ||
Comment 24•14 years ago
|
||
1.9.2 is still at SQLite 3.7.1 so it's a slightly different upgrade. We'll need an updated patch.
Reporter | ||
Comment 25•14 years ago
|
||
Updated•14 years ago
|
Whiteboard: [tb31needs] → [tb31needed]
You need to log in
before you can comment on or make changes to this bug.
Description
•