Index: third_party/sqlite/amalgamation/sqlite3.c |
diff --git a/third_party/sqlite/amalgamation/sqlite3.c b/third_party/sqlite/amalgamation/sqlite3.c |
index b1a6cc81bd6214e9dc3390c774f0d0a0d6f9bd90..cbcd1205b64dae0b595d93850148ed0d6024f075 100644 |
--- a/third_party/sqlite/amalgamation/sqlite3.c |
+++ b/third_party/sqlite/amalgamation/sqlite3.c |
@@ -111685,6 +111685,9 @@ static void fts3DatabasePageSize(int *pRc, Fts3Table *p){ |
sqlite3_step(pStmt); |
p->nPgsz = sqlite3_column_int(pStmt, 0); |
rc = sqlite3_finalize(pStmt); |
+ }else if( rc==SQLITE_AUTH ){ |
+ p->nPgsz = 1024; |
+ rc= SQLITE_OK; |
} |
} |
assert( p->nPgsz>0 || rc!=SQLITE_OK ); |