| 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..efec2f915d301d177922a074b1147879c2564c2f 100644
|
| --- a/third_party/sqlite/src/src/main.c
|
| +++ b/third_party/sqlite/src/src/main.c
|
| @@ -2008,6 +2008,12 @@ static int openDatabase(
|
| }
|
| #endif
|
|
|
| + /* TODO(shess): #ifdef magic? */
|
| + if( !db->mallocFailed && rc==SQLITE_OK){
|
| + extern int recoverVtableInit(sqlite3 *db);
|
| + rc = recoverVtableInit(db);
|
| + }
|
| +
|
| sqlite3Error(db, rc, 0);
|
|
|
| /* -DSQLITE_DEFAULT_LOCKING_MODE=1 makes EXCLUSIVE the default locking
|
|
|