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

Add test cases for fts4aux. Fix a bug affecting fts3 tables with multiple columns.

FossilOrigin-Name: dc511e60a65232a7087e12ff40b63506cf37a634
This commit is contained in:
dan
2011-02-05 14:37:57 +00:00
parent 4c600ac389
commit bb7e77c758
4 changed files with 29 additions and 12 deletions

View File

@ -302,7 +302,7 @@ static int fts3auxNextMethod(sqlite3_vtab_cursor *pCursor){
break;
/* State 3. The integer just read is a column number. */
case 3:
default: assert( eState==3 );
iCol = (int)v;
if( fts3auxGrowStatArray(pCsr, iCol+2) ) return SQLITE_NOMEM;
pCsr->aStat[iCol+1].nDoc++;