summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 14:33:32 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 14:33:32 +0000
commit4176eee4b309db79df593b7671186907159b8a14 (patch)
tree2a3c29b21e8e9fe17dcf29a4e01294cd35338a98 /third_party/sqlite
parent110464a938291b333c54eaaab8a5383570247dc7 (diff)
downloadchromium_src-4176eee4b309db79df593b7671186907159b8a14.zip
chromium_src-4176eee4b309db79df593b7671186907159b8a14.tar.gz
chromium_src-4176eee4b309db79df593b7671186907159b8a14.tar.bz2
Call sqlite3Preload() only when not using system sqlite. Modify the
sqlite3.h header to not include a stub definition of sqlite3Preload(). BUG=None TEST=None Review URL: http://codereview.chromium.org/6356012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/sqlite')
-rw-r--r--third_party/sqlite/sqlite3.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/third_party/sqlite/sqlite3.h b/third_party/sqlite/sqlite3.h
index 2072899..2ae3410 100644
--- a/third_party/sqlite/sqlite3.h
+++ b/third_party/sqlite/sqlite3.h
@@ -11,10 +11,6 @@
#if defined(USE_SYSTEM_SQLITE)
#include <sqlite3.h>
-
-// A no-op implementation of database preloading (not available
-// when using system sqlite).
-static int sqlite3Preload(sqlite3 *db) { return SQLITE_OK; }
#else
#include "third_party/sqlite/preprocessed/sqlite3.h"
#endif