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

Unified Diff: sql/recovery_unittest.cc

Issue 1757653002: [sqlite] sql::Recovery working under USE_SYSTEM_SQLITE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zzzzsql_ios_recover_review1
Patch Set: Created 4 years, 10 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
Index: sql/recovery_unittest.cc
diff --git a/sql/recovery_unittest.cc b/sql/recovery_unittest.cc
index e4fdb7b189ebe0bbc9fc5aa73ae20b1e79d1a478..d3b04b1eb900a888cb955aa5fdfab36a83038c92 100644
--- a/sql/recovery_unittest.cc
+++ b/sql/recovery_unittest.cc
@@ -172,9 +172,6 @@ TEST_F(SQLRecoveryTest, RecoverBasic) {
ExecuteWithResults(&db(), kXSql, "|", "\n"));
}
-// The recovery virtual table is only supported for Chromium's SQLite.
-#if !defined(USE_SYSTEM_SQLITE)
-
// Test operation of the virtual table used by sql::Recovery.
TEST_F(SQLRecoveryTest, VirtualTable) {
const char kCreateSql[] = "CREATE TABLE x (t TEXT)";
@@ -737,7 +734,6 @@ TEST_F(SQLRecoveryTest, Bug387868) {
EXPECT_TRUE(sql::Recovery::Recovered(std::move(recovery)));
}
}
-#endif // !defined(USE_SYSTEM_SQLITE)
// Memory-mapped I/O interacts poorly with I/O errors. Make sure the recovery
// database doesn't accidentally enable it.
« no previous file with comments | « sql/recovery.cc ('k') | third_party/sqlite/BUILD.gn » ('j') | third_party/sqlite/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698