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

Unified Diff: sql/connection_unittest.cc

Issue 10171014: Changed to Reset(bool clear_bound_vars) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac build error. Created 8 years, 8 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 | « chrome/browser/webdata/autofill_table.cc ('k') | sql/statement.h » ('j') | 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 96cc25b45aa120c84515042247cbbf3076c2b098..97dd152e3feb8e8d612c2f438d083853487cba69 100644
--- a/sql/connection_unittest.cc
+++ b/sql/connection_unittest.cc
@@ -195,7 +195,7 @@ TEST_F(SQLConnectionTest, RazePageSize) {
// After raze, page_size should still match the indicated value.
ASSERT_TRUE(db().Raze());
- s.Reset();
+ s.Reset(true);
ASSERT_TRUE(s.Step());
ASSERT_EQ(kPageSize, s.ColumnInt(0));
}
@@ -218,7 +218,7 @@ TEST_F(SQLConnectionTest, RazeMultiple) {
ASSERT_TRUE(db().Raze());
// The second connection sees the updated database.
- s.Reset();
+ s.Reset(true);
ASSERT_TRUE(s.Step());
ASSERT_EQ(0, s.ColumnInt(0));
}
« no previous file with comments | « chrome/browser/webdata/autofill_table.cc ('k') | sql/statement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698