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

Unified Diff: app/sql/connection.cc

Issue 6356012: Call sqlite3Preload() only when not using system sqlite. Modify the... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 11 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 | third_party/sqlite/sqlite3.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/sql/connection.cc
===================================================================
--- app/sql/connection.cc (revision 72517)
+++ app/sql/connection.cc (working copy)
@@ -130,7 +130,11 @@
if (!dummy || !dummy.Step())
return;
+#if !defined(USE_SYSTEM_SQLITE)
+ // This function is only defined in Chromium's version of sqlite.
+ // Do not call it when using system sqlite.
sqlite3Preload(db_);
+#endif
}
bool Connection::BeginTransaction() {
« no previous file with comments | « no previous file | third_party/sqlite/sqlite3.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698