diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 18:25:30 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 18:25:30 +0000 |
commit | 8d40941e03359f6f56c46c113e117d270dcb57a0 (patch) | |
tree | 1f29e17a1beb0548891e66f1d4e9a53ef064ad3d /sql/sql.gyp | |
parent | 89849df0a4130db30c99ef13064791b6142b470f (diff) | |
download | chromium_src-8d40941e03359f6f56c46c113e117d270dcb57a0.zip chromium_src-8d40941e03359f6f56c46c113e117d270dcb57a0.tar.gz chromium_src-8d40941e03359f6f56c46c113e117d270dcb57a0.tar.bz2 |
[sql] Scoped recovery framework.
sql::Recovery is intended to be used within a sql::Connection error
callback to either recover the database (*) or indicate that the
database is unrecoverable and should be razed. The intend is that the
code should either progress to a valid database which is composed of
data recovered from the original (likely corrupt) database, or a valid
database which is empty.
This is just the framework without the SQLite-level data-recovery
virtual table.
BUG=109482
Review URL: https://chromiumcodereview.appspot.com/19281002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/sql.gyp')
-rw-r--r-- | sql/sql.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql.gyp b/sql/sql.gyp index 2e8fc18..4b16673 100644 --- a/sql/sql.gyp +++ b/sql/sql.gyp @@ -26,6 +26,8 @@ 'init_status.h', 'meta_table.cc', 'meta_table.h', + 'recovery.cc', + 'recovery.h', 'statement.cc', 'statement.h', 'transaction.cc', @@ -81,6 +83,7 @@ 'sources': [ 'run_all_unittests.cc', 'connection_unittest.cc', + 'recovery_unittest.cc', 'sqlite_features_unittest.cc', 'statement_unittest.cc', 'transaction_unittest.cc', |