summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--third_party/sqlite/sqlite3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/sqlite/sqlite3.h b/third_party/sqlite/sqlite3.h
index 8e5618f..6c7c3b0 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