Lines Matching refs:idxNum

7258   int (*xFilter)(sqlite3_vtab_cursor*, int idxNum, const char *idxStr,
7339 ** ^The idxNum and idxPtr values are recorded and passed into the
7404 int idxNum; /* Number used to identify the index */
98771 ** idxNum==0 means show all subprograms
98772 ** idxNum==1 means show only the main bytecode and omit subprograms.
98776 int idxNum, const char *idxStr,
98786 pCur->showSubprograms = idxNum==0;
98827 pIdxInfo->idxNum = 0;
98837 pIdxInfo->idxNum = 1;
132099 int idxNum, const char *idxStr,
132109 UNUSED_PARAMETER(idxNum);
145966 int idxNum; /* Index number */
146628 pLoop->u.vtab.idxNum, pLoop->u.vtab.idxStr);
147854 sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg);
151334 sqlite3DebugPrintf(" idxNum=%d\n", p->idxNum);
152526 p->u.vtab.idxNum, p->u.vtab.idxStr, p->u.vtab.omitMask);
152528 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
153943 pIdxInfo->idxNum = 0;
154026 pNew->u.vtab.idxNum = pIdxInfo->idxNum;
172652 ** The lower 16-bits of the sqlite3_index_info.idxNum value set by
174263 pInfo->idxNum = FTS3_FULLSCAN_SEARCH;
174275 pInfo->idxNum = FTS3_FULLSCAN_SEARCH;
174287 pInfo->idxNum = FTS3_DOCID_SEARCH;
174304 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
174332 if( pInfo->idxNum==FTS3_DOCID_SEARCH ) fts3SetUniqueFlag(pInfo);
174340 pInfo->idxNum |= FTS3_HAVE_LANGID;
174344 pInfo->idxNum |= FTS3_HAVE_DOCID_GE;
174348 pInfo->idxNum |= FTS3_HAVE_DOCID_LE;
175921 ** If idxNum==FTS3_FULLSCAN_SEARCH then do a full table scan against
175924 ** If idxNum==FTS3_DOCID_SEARCH then do a docid lookup for a single entry
175927 ** If idxNum>=FTS3_FULLTEXT_SEARCH then use the full text index. The
175929 ** number idxNum-FTS3_FULLTEXT_SEARCH, 0 indexed. argv[0] is the right-hand
175934 int idxNum, /* Strategy index */
175958 eSearch = (idxNum & 0x0000FFFF);
175965 if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++];
175966 if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++];
175967 if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++];
178935 pInfo->idxNum = FTS4AUX_EQ_CONSTRAINT;
178939 pInfo->idxNum = 0;
178942 pInfo->idxNum += FTS4AUX_GE_CONSTRAINT;
178947 pInfo->idxNum += FTS4AUX_LE_CONSTRAINT;
179111 int idxNum, /* Strategy index */
179132 assert( idxNum==FTS4AUX_EQ_CONSTRAINT || idxNum==0
179133 || idxNum==FTS4AUX_LE_CONSTRAINT || idxNum==FTS4AUX_GE_CONSTRAINT
179134 || idxNum==(FTS4AUX_LE_CONSTRAINT|FTS4AUX_GE_CONSTRAINT)
179137 if( idxNum==FTS4AUX_EQ_CONSTRAINT ){
179141 if( idxNum & FTS4AUX_GE_CONSTRAINT ){
179144 if( idxNum & FTS4AUX_LE_CONSTRAINT ){
182656 pInfo->idxNum = 1;
182664 pInfo->idxNum = 0;
182745 int idxNum, /* Strategy index */
182757 if( idxNum==1 ){
193644 ** column. Without such a constraint, the table cannot operate. idxNum is
193688 pIdxInfo->idxNum = 0;
193695 pIdxInfo->idxNum = 1; /* Only JSON supplied. Plan 1 */
193700 pIdxInfo->idxNum = 3; /* Both JSON and ROOT are supplied. Plan 3 */
193709 int idxNum, const char *idxStr,
193720 if( idxNum==0 ) return SQLITE_OK;
193741 if( idxNum==3 ){
194229 int iStrategy; /* Copy of idxNum search parameter */
195779 int idxNum, const char *idxStr,
195794 pCsr->iStrategy = idxNum;
195795 if( idxNum==1 ){
195901 ** idxNum idxStr Strategy
195964 pIdxInfo->idxNum = 1;
196003 pIdxInfo->idxNum = 2;
199695 int idxNum, /* Query plan */
199710 pCsr->iStrategy = idxNum;
199711 if( idxNum==1 ){
199735 if( rc==SQLITE_OK && idxNum<=3 ){
199751 if( idxNum==2 ){
199817 ** idxNum idxStr Strategy
199829 int idxNum = 0;
199843 idxNum = p->op - SQLITE_INDEX_CONSTRAINT_FUNCTION + 2;
199848 pIdxInfo->idxNum = 1;
199858 pIdxInfo->idxNum = idxNum;
199866 pIdxInfo->idxNum = 4;
207336 ** Compute the best query strategy and return the result in idxNum.
207338 ** idxNum-Bit Meaning
207351 /* Look for a valid schema=? constraint. If found, change the idxNum to
207381 pIdxInfo->idxNum |= 0x01;
207385 pIdxInfo->idxNum |= 0x02;
207389 pIdxInfo->idxNum |= 0x04;
207409 pIdxInfo->idxNum |= 0x08;
207859 /* Initialize a cursor according to the query plan idxNum using the
207861 ** meaning of the bits in idxNum.
207865 int idxNum, const char *idxStr,
207879 if( idxNum & 0x01 ){
207891 if( idxNum & 0x02 ){
207895 if( idxNum & 0x04 ){
207912 if( idxNum & 0x08 ){
208137 ** idxNum:
208185 pIdxInfo->idxNum = iPlan;
208241 ** idxNum:
208252 int idxNum, const char *idxStr,
208265 if( idxNum & 2 ){
208279 if( idxNum & 1 ){
208280 assert( argc>(idxNum>>1) );
208281 pCsr->pgno = sqlite3_value_int(argv[idxNum>>1]);
229944 ** Bits that make up the "idxNum" parameter passed indirectly by
230242 ** Information for the xFilter call is passed via both the idxNum and
230243 ** idxStr variables. Specifically, idxNum is a bitmask of the following
230418 pInfo->idxNum = idxFlags;
230947 int idxNum, /* Strategy index */
231054 bOrderByRank = ((idxNum & FTS5_BI_ORDER_RANK) ? 1 : 0);
231055 pCsr->bDesc = bDesc = ((idxNum & FTS5_BI_ORDER_DESC) ? 1 : 0);
236467 ** Bits for the mask used as the idxNum value by xBestIndex/xFilter.
236648 int idxNum = 0;
236666 idxNum |= FTS5_VOCAB_TERM_EQ;
236672 idxNum |= FTS5_VOCAB_TERM_GE;
236677 idxNum |= FTS5_VOCAB_TERM_LE;
236695 pInfo->idxNum = idxNum;
236979 int idxNum, /* Strategy index */
237001 if( idxNum & FTS5_VOCAB_TERM_EQ ) pEq = apVal[iVal++];
237002 if( idxNum & FTS5_VOCAB_TERM_GE ) pGe = apVal[iVal++];
237003 if( idxNum & FTS5_VOCAB_TERM_LE ) pLe = apVal[iVal++];
237392 int idxNum, const char *idxStr,