mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix a couple C99-isms in FTS5 that cause compile errors on MSVC.
FossilOrigin-Name: 584848d4396d7755027fab377c97e40fbcc90d21
This commit is contained in:
@ -1875,13 +1875,15 @@ static void fts5SegIterNext(
|
||||
int iOff;
|
||||
int bNewTerm = 0;
|
||||
int nKeep = 0;
|
||||
u8 *a;
|
||||
int n;
|
||||
|
||||
assert( pbNewTerm==0 || *pbNewTerm==0 );
|
||||
assert( p->pConfig->eDetail!=FTS5_DETAIL_NONE );
|
||||
|
||||
/* Search for the end of the position list within the current page. */
|
||||
u8 *a = pLeaf->p;
|
||||
int n = pLeaf->szLeaf;
|
||||
a = pLeaf->p;
|
||||
n = pLeaf->szLeaf;
|
||||
|
||||
ASSERT_SZLEAF_OK(pLeaf);
|
||||
iOff = pIter->iLeafOffset + pIter->nPos;
|
||||
|
Reference in New Issue
Block a user