Chromium Code Reviews| Index: third_party/sqlite/src/ext/fts3/fts3.c |
| diff --git a/third_party/sqlite/src/ext/fts3/fts3.c b/third_party/sqlite/src/ext/fts3/fts3.c |
| index 8498cfae570eb0882da47c2ff2b76e510571a54f..dfa3891a4bb0d4efaed61f9e13c2d1136b73423e 100644 |
| --- a/third_party/sqlite/src/ext/fts3/fts3.c |
| +++ b/third_party/sqlite/src/ext/fts3/fts3.c |
| @@ -630,6 +630,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; |
|
michaeln
2011/06/22 22:12:51
1024... what if this hardcoded value does not matc
Scott Hess - ex-Googler
2011/06/22 23:25:34
AFAICT, the goal of pulling the page size is to im
|
| + rc= SQLITE_OK; |
|
Scott Hess - ex-Googler
2011/06/22 23:25:34
Oops, I'll get that whitespace.
|
| } |
| } |
| assert( p->nPgsz>0 || rc!=SQLITE_OK ); |