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

Unified Diff: third_party/sqlite/sqlite3.h

Issue 3134039: Add a stub implementation of sqlite3Preload when building with system sqlite. (Closed)
Patch Set: Created 10 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/sqlite3.h
diff --git a/third_party/sqlite/sqlite3.h b/third_party/sqlite/sqlite3.h
index 8e5618fcf415adae18b455a8c13359ad6d0a9b49..6c7c3b084353456d2dedfa9964e975bed5f637dd 100644
--- a/third_party/sqlite/sqlite3.h
+++ b/third_party/sqlite/sqlite3.h
@@ -11,6 +11,10 @@
#if defined(USE_SYSTEM_SQLITE)
#include <sqlite3.h>
+
+// A no-op implementation of database preloading (not available
+// when using system sqlite).
+int sqlite3Preload(sqlite3 *db) { return SQLITE_OK; }
#else
#include "third_party/sqlite/src/preprocessed/sqlite3.h"
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698