Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Issue 9125018: Skeleton of SQLite virtual-table module to recover data from corrupt databases. (Closed)

Created:
8 years, 11 months ago by Scott Hess - ex-Googler
Modified:
8 years, 11 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Skeleton of SQLite virtual-table module to recover data from corrupt databases. "recover" implements a virtual table which uses the SQLite pager layer to read table pages and pull out the data which is structurally sound (at least at the storage layer). This CL implements the virtual-table interface, including schema, with some mock data for purposes of landing some initial tests. This CL should cause no changes to Chromium, as it does not get compiled. BUG=109482 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117359

Patch Set 1 #

Total comments: 40

Patch Set 2 : Vandebo's comments. #

Patch Set 3 : Mask constants to macros, upread README.chromium, copyright disclaimer on recover.c. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1619 lines, -0 lines) Patch
M third_party/sqlite/README.chromium View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/sqlite/src/src/recover.c View 1 2 1 chunk +803 lines, -0 lines 0 comments Download
A third_party/sqlite/src/test/recover0.test View 1 1 chunk +532 lines, -0 lines 0 comments Download
A third_party/sqlite/src/test/recover1.test View 1 chunk +282 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Scott Hess - ex-Googler
OK, here's the outer layer of things. Initially, I would prefer a pre-review, where you ...
8 years, 11 months ago (2012-01-07 01:32:36 UTC) #1
Scott Hess - ex-Googler
On 2012/01/07 01:32:36, shess wrote: > For reference purposes only, I've put my entire change ...
8 years, 11 months ago (2012-01-08 01:29:34 UTC) #2
vandebo (ex-Chrome)
On 2012/01/07 01:32:36, shess wrote: > OK, here's the outer layer of things. Initially, I ...
8 years, 11 months ago (2012-01-10 01:21:37 UTC) #3
Scott Hess - ex-Googler
On Mon, Jan 9, 2012 at 5:21 PM, <vandebo@chromium.org> wrote: > On 2012/01/07 01:32:36, shess ...
8 years, 11 months ago (2012-01-10 02:02:56 UTC) #4
vandebo (ex-Chrome)
Aside from the potential memory leaks and nits, this change looks good.... In that it ...
8 years, 11 months ago (2012-01-11 00:41:55 UTC) #5
Scott Hess - ex-Googler
On 2012/01/11 00:41:55, vandebo wrote: > Aside from the potential memory leaks and nits, this ...
8 years, 11 months ago (2012-01-11 18:55:07 UTC) #6
vandebo (ex-Chrome)
LGTM http://codereview.chromium.org/9125018/diff/1/third_party/sqlite/src/src/recover.c File third_party/sqlite/src/src/recover.c (right): http://codereview.chromium.org/9125018/diff/1/third_party/sqlite/src/src/recover.c#newcode539 third_party/sqlite/src/src/recover.c:539: int r = zText>*pzWordStart; /* In case pzWordStart==pzWordEnd ...
8 years, 11 months ago (2012-01-11 21:46:00 UTC) #7
Mike Mammarella
(Sorry for the delay. If you are interested in me looking at this I hope ...
8 years, 11 months ago (2012-01-11 22:54:42 UTC) #8
Scott Hess - ex-Googler
On 2012/01/11 21:46:00, vandebo wrote: > LGTM Awesome! Thanks for the expedient review, now I ...
8 years, 11 months ago (2012-01-12 00:22:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/9125018/11001
8 years, 11 months ago (2012-01-12 00:23:37 UTC) #10
commit-bot: I haz the power
8 years, 11 months ago (2012-01-12 01:59:29 UTC) #11
Change committed as 117359

Powered by Google App Engine
This is Rietveld 408576698