Chromium Code Reviews| Index: third_party/sqlite/src/src/main.c |
| diff --git a/third_party/sqlite/src/src/main.c b/third_party/sqlite/src/src/main.c |
| index 4aaa61899cbd426a0e0342872aff037162fa9c7a..696de1cbce7eef092799bebea82317a423589c09 100644 |
| --- a/third_party/sqlite/src/src/main.c |
| +++ b/third_party/sqlite/src/src/main.c |
| @@ -1996,6 +1996,14 @@ static int openDatabase( |
| } |
| #endif |
| +#ifdef DEFAULT_ENABLE_RECOVER |
| + /* Initialize recover virtual table for testing. */ |
| + extern int recoverVtableInit(sqlite3 *db); |
| + if( !db->mallocFailed && rc==SQLITE_OK ){ |
| + rc = recoverVtableInit(db); |
| + } |
| +#endif |
|
Scott Hess - ex-Googler
2015/01/27 22:09:37
This is here for testing, production enables it as
|
| + |
| #ifdef SQLITE_ENABLE_ICU |
| if( !db->mallocFailed && rc==SQLITE_OK ){ |
| rc = sqlite3IcuInit(db); |