diff options
Diffstat (limited to 'chrome/common/sqlite_utils.cc')
-rw-r--r-- | chrome/common/sqlite_utils.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/sqlite_utils.cc b/chrome/common/sqlite_utils.cc index 5c5e130..9695cfb 100644 --- a/chrome/common/sqlite_utils.cc +++ b/chrome/common/sqlite_utils.cc @@ -407,3 +407,11 @@ std::wstring SQLStatement::column_wstring(int index) { column_wstring(index, &wstr); return wstr; } + +#if defined(USE_SYSTEM_SQLITE) +// This function is a local change to sqlite3 which doesn't exist when one is +// using the system sqlite library. Thus, we stub it out here. +int sqlite3Preload(sqlite3* db) { + return 0; +} +#endif |