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

Unified Diff: sql/statement.cc

Issue 1365783002: Revert of [sql] Use memory-mapped I/O for sql::Connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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_unittest.cc ('k') | sync/syncable/directory_backing_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/statement.cc
diff --git a/sql/statement.cc b/sql/statement.cc
index 2a0faa7474253b297f55e3951ddd31542205a4a6..09c95da43b6d42c37aaf4e1d9a6f311c9dfbcc98 100644
--- a/sql/statement.cc
+++ b/sql/statement.cc
@@ -110,11 +110,6 @@
ref_->connection()->RecordOneEvent(Connection::EVENT_STATEMENT_SUCCESS);
}
- // Potentially release dirty cache pages if an autocommit statement made
- // changes.
- if (ref_->connection())
- ref_->connection()->ReleaseCacheMemoryIfNeeded(false);
-
succeeded_ = false;
stepped_ = false;
}
« no previous file with comments | « sql/connection_unittest.cc ('k') | sync/syncable/directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698