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

Unified Diff: sql/connection_unittest.cc

Issue 11369126: Make sql::Connection::Raze() more robust against corruptions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix for android. Created 8 years, 1 month 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/connection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection_unittest.cc
diff --git a/sql/connection_unittest.cc b/sql/connection_unittest.cc
index e50043fa940e731b9fe9dde503f5757cc60a2642..80364096133df84d6757b394e33a8a4a383b3792 100644
--- a/sql/connection_unittest.cc
+++ b/sql/connection_unittest.cc
@@ -186,7 +186,7 @@ TEST_F(SQLConnectionTest, Raze) {
{
sql::Statement s(db().GetUniqueStatement("PRAGMA auto_vacuum"));
ASSERT_TRUE(s.Step());
- // auto_vacuum must be preserved across a Raze.
+ // The new database has the same auto_vacuum as a fresh database.
EXPECT_EQ(pragma_auto_vacuum, s.ColumnInt(0));
}
}
« no previous file with comments | « sql/connection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698