1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix a couple of compiler warnings in fts5_index.c.

FossilOrigin-Name: bf71faa2a1d29ea762c4d2485522d6f4f8a5a7166981a92d3ba9c96ccbbe1213
This commit is contained in:
dan
2023-07-27 20:08:44 +00:00
parent 9cf8961557
commit ea6bccaa44
3 changed files with 9 additions and 11 deletions

View File

@ -403,8 +403,8 @@ struct Fts5StructureSegment {
u64 iOrigin1;
u64 iOrigin2;
int nPgTombstone; /* Number of tombstone hash table pages */
i64 nEntryTombstone; /* Number of tombstone entries that "count" */
i64 nEntry; /* Number of rows in this segment */
u64 nEntryTombstone; /* Number of tombstone entries that "count" */
u64 nEntry; /* Number of rows in this segment */
};
struct Fts5StructureLevel {
int nMerge; /* Number of segments in incr-merge */
@ -4779,7 +4779,6 @@ static int fts5IndexMerge(
int nRem = nPg;
int bRet = 0;
Fts5Structure *pStruct = *ppStruct;
int bTombstone = 0;
while( nRem>0 && p->rc==SQLITE_OK ){
int iLvl; /* To iterate through levels */
int iBestLvl = 0; /* Level offering the most input segments */