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

Unified Diff: sql/statement.cc

Issue 10806025: Revert 147309 - Annotate calls to SQLite functions - they have to be executed on a thread allowing … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « 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/statement.cc
===================================================================
--- sql/statement.cc (revision 147339)
+++ sql/statement.cc (working copy)
@@ -48,7 +48,6 @@
}
bool Statement::Run() {
- ref_->AssertIOAllowed();
if (!CheckValid())
return false;
@@ -56,7 +55,6 @@
}
bool Statement::Step() {
- ref_->AssertIOAllowed();
if (!CheckValid())
return false;
@@ -64,7 +62,6 @@
}
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
« 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