summaryrefslogtreecommitdiffstats
path: root/sql/statement.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/statement.h')
-rw-r--r--sql/statement.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/statement.h b/sql/statement.h
index 92d1ef2..269684f 100644
--- a/sql/statement.h
+++ b/sql/statement.h
@@ -87,9 +87,9 @@ class SQL_EXPORT Statement {
// return s.Succeeded();
bool Step();
- // Resets the statement to its initial condition. This includes clearing all
- // the bound variables and any current result row.
- void Reset();
+ // Resets the statement to its initial condition. This includes any current
+ // result row, and also the bound variables if the |clear_bound_vars| is true.
+ void Reset(bool clear_bound_vars);
// 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