Merge fixes from the fts5NoWarn branch.

FossilOrigin-Name: 61cb2fc6c12810863c965c74e90bc502e20cf810
This commit is contained in:
dan 2015-08-11 14:25:34 +00:00
commit f053ceb9c1
5 changed files with 14 additions and 16 deletions

View File

@ -2312,7 +2312,6 @@ static void fts5SegIterSeekInit(
Fts5SegIter *pIter /* Object to populate */
){
int iPg = 1;
int h;
int bGe = (flags & FTS5INDEX_QUERY_SCAN);
int bDlidx = 0; /* True if there is a doclist-index */
@ -2339,7 +2338,7 @@ static void fts5SegIterSeekInit(
sqlite3_bind_blob(p->pIdxSelect, 2, pTerm, nTerm, SQLITE_STATIC);
if( SQLITE_ROW==sqlite3_step(p->pIdxSelect) ){
i64 val = sqlite3_column_int(p->pIdxSelect, 0);
iPg = (val>>1);
iPg = (int)(val>>1);
bDlidx = (val & 0x0001);
}
p->rc = sqlite3_reset(p->pIdxSelect);
@ -5076,7 +5075,6 @@ static void fts5IndexIntegrityCheckSegment(
i64 iRow; /* Rowid for this leaf */
Fts5Data *pLeaf; /* Data for this leaf */
int iOff; /* Offset of first term on leaf */
int i; /* Used to iterate through empty leaves */
int nIdxTerm = sqlite3_column_bytes(pStmt, 1);
const char *zIdxTerm = (const char*)sqlite3_column_text(pStmt, 1);
@ -5128,7 +5126,7 @@ static void fts5IndexIntegrityCheckSegment(
Fts5DlidxIter *pDlidx = 0; /* For iterating through doclist index */
int iPrevLeaf = iIdxLeaf;
int iSegid = pSeg->iSegid;
int iPg;
int iPg = 0;
i64 iKey;
for(pDlidx=fts5DlidxIterInit(p, 0, iSegid, iIdxLeaf);

View File

@ -23,6 +23,7 @@
#include <assert.h>
extern int sqlite3_fts5_may_be_corrupt;
extern int sqlite3Fts5TestRegisterMatchinfo(sqlite3 *);
/*************************************************************************
** This is a copy of the first part of the SqliteDb structure in

View File

@ -259,7 +259,7 @@ static int fts5MatchinfoLocalCb(
int iPhrase, iOff, iCol = 0;
int iNextPhrase;
int iNextOff;
int nSeq = 1;
u32 nSeq = 1;
int j;
rc = pApi->xInst(pFts, i, &iPhrase, &iCol, &iOff);

View File

@ -1,5 +1,5 @@
C Fix\scompiler\swarnings\sand\sremove\sunreachable\scode.
D 2015-08-08T23:30:56.001
C Merge\sfixes\sfrom\sthe\sfts5NoWarn\sbranch.
D 2015-08-11T14:25:34.036
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 2fc9ca6bf5949d415801c007ed3004a4bdb7c380
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -112,11 +112,11 @@ F ext/fts5/fts5_buffer.c 80f9ba4431848cb857e3d2158f5280093dcd8015
F ext/fts5/fts5_config.c fdfa63ae8e527ecfaa50f94063c610429cc887cf
F ext/fts5/fts5_expr.c 495b24f47f4d71b63339572a5beaf9f6e1b486fe
F ext/fts5/fts5_hash.c 4bf4b99708848357b8a2b5819e509eb6d3df9246
F ext/fts5/fts5_index.c 28718af591ec59df0c3804cefdccd619b44a0e38
F ext/fts5/fts5_index.c 076c4995bf06a6d1559a6e31f9a86b90f2105374
F ext/fts5/fts5_main.c 4c8af0015aaf1db2c81df4f617840a921360ef50
F ext/fts5/fts5_storage.c 22ec9b5d35a39e2b5b65daf4ba7cd47fbb2d0df5
F ext/fts5/fts5_tcl.c fac2c0a30e708696bd5130324968eef9021c0235
F ext/fts5/fts5_test_mi.c f27e865f492b96a115bc37b3e2d149ab9a1c05be
F ext/fts5/fts5_tcl.c 96a3b9e982c4a64a242eefd752fa6669cd405a67
F ext/fts5/fts5_test_mi.c c42a34590d9393d2aa0b959398261810ca976d05
F ext/fts5/fts5_tokenize.c 2836f6728bd74c7efac7487f5d9c27ca3e1b509c
F ext/fts5/fts5_unicode2.c 78273fbd588d1d9bd0a7e4e0ccc9207348bae33c
F ext/fts5/fts5_varint.c 3f86ce09cab152e3d45490d7586b7ed2e40c13f1
@ -1372,8 +1372,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P 1d75a41bb2f7fcd32f9f08768517b814e452e456 962b6cd6bbc1ef82ae98cb2ddf41e7a1116e70f5
R 9515e6f89ec29f4ddd4e24f2f6aa441a
T +closed 962b6cd6bbc1ef82ae98cb2ddf41e7a1116e70f5
U drh
Z 835c78eb4169c17715bf2b1e3d1fbe33
P fd5608fb20831f1f1946c8941445b7acc463a143 0ddb2532b2daaaf1b0109ac360822f84cb999b7f
R f656c6f9b0efdad10e9de9eeca5d30e2
U dan
Z a8d5c370bccbd577084eb4f30439c21a

View File

@ -1 +1 @@
fd5608fb20831f1f1946c8941445b7acc463a143
61cb2fc6c12810863c965c74e90bc502e20cf810