| Index: third_party/sqlite/src/src/recover.c
|
| diff --git a/third_party/sqlite/src/src/recover.c b/third_party/sqlite/src/src/recover.c
|
| index c996d536b4735be1ee9ed531896094746c7de034..c91c88d66c309c8e607e749b77f218f3275531b3 100644
|
| --- a/third_party/sqlite/src/src/recover.c
|
| +++ b/third_party/sqlite/src/src/recover.c
|
| @@ -1775,7 +1775,7 @@ static int recoverColumn(sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i){
|
|
|
| FNENTRY();
|
|
|
| - if( i>=pRecover->nCols ){
|
| + if( (unsigned)i>=pRecover->nCols ){
|
| return SQLITE_ERROR;
|
| }
|
|
|
| @@ -2082,11 +2082,11 @@ static int recoverInit(
|
| sqlite3_vtab **ppVtab, /* OUT: New virtual table */
|
| char **pzErr /* OUT: Error message, if any */
|
| ){
|
| - const unsigned kTypeCol = 4; /* First argument with column type info. */
|
| - Recover *pRecover; /* Virtual table structure being created. */
|
| - char *zDot; /* Any dot found in "db.table" backing. */
|
| - u32 iRootPage; /* Root page of backing table. */
|
| - char *zCreateSql; /* Schema of created virtual table. */
|
| + const int kTypeCol = 4; /* First argument with column type info. */
|
| + Recover *pRecover; /* Virtual table structure being created. */
|
| + char *zDot; /* Any dot found in "db.table" backing. */
|
| + u32 iRootPage; /* Root page of backing table. */
|
| + char *zCreateSql; /* Schema of created virtual table. */
|
| int rc;
|
|
|
| /* Require to be in the temp database. */
|
|
|