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

Unified Diff: sql/statement.h

Issue 10171014: Changed to Reset(bool clear_bound_vars) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | sql/statement.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/statement.h
diff --git a/sql/statement.h b/sql/statement.h
index 92d1ef2fb472c44f15434ac60772b1561d6ab009..501b8b3735f1f5f83f62e838cc0c88647242f097 100644
--- a/sql/statement.h
+++ b/sql/statement.h
@@ -91,6 +91,10 @@ class SQL_EXPORT Statement {
// the bound variables and any current result row.
void Reset();
+ // Resets the statement to its initial condition without clearing the bound
+ // variables.
+ void ResetWithoutClearingBoundVariables();
brettw 2012/04/24 23:12:30 This name seems awkward and out of place. It looks
michaelbai 2012/04/25 17:10:52 Done.
Scott Hess - ex-Googler 2012/07/03 00:34:34 In my imagination, ResetWithoutClearingBoundVariab
+
// Returns true if the last executed thing in this statement succeeded. If
// there was no last executed thing or the statement is invalid, this will
// return false.
« no previous file with comments | « no previous file | sql/statement.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698