mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Change the fts5 content= option so that it matches fts5 columns with the underlying table columns by name, not by their position within the CREATE TABLE statement.
FossilOrigin-Name: e38e2bb637844dae8ae5d5f3e23d8369e1b91e45
This commit is contained in:
@ -4729,7 +4729,7 @@ static void fts5IndexIntegrityCheckSegment(
|
||||
){
|
||||
Fts5BtreeIter iter; /* Used to iterate through b-tree hierarchy */
|
||||
|
||||
if( pSeg->pgnoFirst==0 && pSeg->pgnoLast==0 ) return;
|
||||
if( pSeg->pgnoFirst==0 ) return;
|
||||
|
||||
/* Iterate through the b-tree hierarchy. */
|
||||
for(fts5BtreeIterInit(p, iIdx, pSeg, &iter);
|
||||
@ -5148,10 +5148,8 @@ static int fts5DecodeDoclist(int *pRc, Fts5Buffer *pBuf, const u8 *a, int n){
|
||||
i64 iDocid;
|
||||
int iOff = 0;
|
||||
|
||||
if( iOff<n ){
|
||||
iOff += sqlite3GetVarint(&a[iOff], (u64*)&iDocid);
|
||||
sqlite3Fts5BufferAppendPrintf(pRc, pBuf, " rowid=%lld", iDocid);
|
||||
}
|
||||
iOff = sqlite3GetVarint(&a[iOff], (u64*)&iDocid);
|
||||
sqlite3Fts5BufferAppendPrintf(pRc, pBuf, " rowid=%lld", iDocid);
|
||||
while( iOff<n ){
|
||||
int nPos;
|
||||
int bDummy;
|
||||
|
Reference in New Issue
Block a user