| Index: third_party/sqlite/sqlite-src-3100200/ext/fts3/tool/fts3view.c
|
| diff --git a/third_party/sqlite/sqlite-src-3080704/ext/fts3/tool/fts3view.c b/third_party/sqlite/sqlite-src-3100200/ext/fts3/tool/fts3view.c
|
| similarity index 99%
|
| copy from third_party/sqlite/sqlite-src-3080704/ext/fts3/tool/fts3view.c
|
| copy to third_party/sqlite/sqlite-src-3100200/ext/fts3/tool/fts3view.c
|
| index 3dc1ba80fee088e6aefa9e068431abe5dae48ebb..a8d7981af00d48eba6191b262640517e9a24a886 100644
|
| --- a/third_party/sqlite/sqlite-src-3080704/ext/fts3/tool/fts3view.c
|
| +++ b/third_party/sqlite/sqlite-src-3100200/ext/fts3/tool/fts3view.c
|
| @@ -398,7 +398,7 @@ static void showSegmentStats(sqlite3 *db, const char *zTab){
|
| if( sqlite3_step(pStmt)==SQLITE_ROW
|
| && (nLeaf = sqlite3_column_int(pStmt, 0))>0
|
| ){
|
| - int nIdx = sqlite3_column_int(pStmt, 5);
|
| + nIdx = sqlite3_column_int(pStmt, 5);
|
| sqlite3_int64 sz;
|
| printf("For level %d:\n", i);
|
| printf(" Number of indexes...................... %9d\n", nIdx);
|
| @@ -504,7 +504,7 @@ static void showSegdirMap(sqlite3 *db, const char *zTab){
|
| sqlite3_column_int64(pStmt,5));
|
| printf(" root %9s\n", rtag);
|
| if( iLEnd>iStart ){
|
| - sqlite3_int64 iLower, iPrev, iX;
|
| + sqlite3_int64 iLower, iPrev = 0, iX;
|
| if( iLEnd+1<=iEnd ){
|
| sqlite3_bind_int64(pStmt2, 1, iLEnd+1);
|
| sqlite3_bind_int64(pStmt2, 2, iEnd);
|
| @@ -548,7 +548,7 @@ static void decodeSegment(
|
| const unsigned char *aData, /* Content to print */
|
| int nData /* Number of bytes of content */
|
| ){
|
| - sqlite3_int64 iChild;
|
| + sqlite3_int64 iChild = 0;
|
| sqlite3_int64 iPrefix;
|
| sqlite3_int64 nTerm;
|
| sqlite3_int64 n;
|
|
|