Index: sql/statement.cc |
=================================================================== |
--- sql/statement.cc (revision 147715) |
+++ sql/statement.cc (working copy) |
@@ -48,6 +48,7 @@ |
} |
bool Statement::Run() { |
+ ref_->AssertIOAllowed(); |
if (!CheckValid()) |
return false; |
@@ -55,6 +56,7 @@ |
} |
bool Statement::Step() { |
+ ref_->AssertIOAllowed(); |
if (!CheckValid()) |
return false; |
@@ -62,6 +64,7 @@ |
} |
void Statement::Reset(bool clear_bound_vars) { |
+ ref_->AssertIOAllowed(); |
if (is_valid()) { |
// We don't call CheckError() here because sqlite3_reset() returns |
// the last error that Step() caused thereby generating a second |