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

Unified Diff: sql/recovery.cc

Issue 24989006: Disable recovery test for USE_SYSTEM_SQLITE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sql/recovery.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/recovery.cc
diff --git a/sql/recovery.cc b/sql/recovery.cc
index fc676613c8ad196c21a24b3b61060f5cc4cc9483..c750fd01c3f36730527e05fa4246e2c15bc3a18b 100644
--- a/sql/recovery.cc
+++ b/sql/recovery.cc
@@ -13,6 +13,16 @@
namespace sql {
// static
+bool Recovery::FullRecoverySupported() {
+ // TODO(shess): See comment in Init().
+#if defined(USE_SYSTEM_SQLITE)
+ return false;
+#else
+ return true;
+#endif
+}
+
+// static
scoped_ptr<Recovery> Recovery::Begin(
Connection* connection,
const base::FilePath& db_path) {
« no previous file with comments | « sql/recovery.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698