Skip to content

Commit

Permalink
Skeleton of SQLite virtual-table module to recover data from corrupt …
Browse files Browse the repository at this point in the history
…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

Review URL: http://codereview.chromium.org/9125018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117359 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
shess@chromium.org committed Jan 12, 2012
1 parent e0a905b commit d9d6b3a
Show file tree
Hide file tree
Showing 4 changed files with 1,619 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third_party/sqlite/README.chromium
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,5 @@ Changes from Chrome:
conflict with an Apple library after amalgamation it was also necessary to
rename fts3_porter.c's 'cType' to 'vOrCType'.
- fts3_85522.patch allows fts3 to work if PRAGMA is not authorized.
- src/recover.c file implements a virtual table which can read
through corruption.
Loading

0 comments on commit d9d6b3a

Please sign in to comment.