Lines Matching defs:idxNum
7406 int (*xFilter)(sqlite3_vtab_cursor*, int idxNum, const char *idxStr,
7487 ** ^The idxNum and idxPtr values are recorded and passed into the
7552 int idxNum; /* Number used to identify the index */
102855 ** idxNum==0 means show all subprograms
102856 ** idxNum==1 means show only the main bytecode and omit subprograms.
102860 int idxNum, const char *idxStr,
102870 pCur->showSubprograms = idxNum==0;
102911 pIdxInfo->idxNum = 0;
102921 pIdxInfo->idxNum = 1;
137015 int idxNum, const char *idxStr,
137025 UNUSED_PARAMETER(idxNum);
151454 int idxNum; /* Index number */
152130 pLoop->u.vtab.idxNum, pLoop->u.vtab.idxStr);
153374 sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg);
157285 sqlite3DebugPrintf(" idxNum=%d\n", p->idxNum);
158717 p->u.vtab.idxNum, p->u.vtab.idxStr, p->u.vtab.omitMask);
158719 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
160265 pIdxInfo->idxNum = 0;
160370 pNew->u.vtab.idxNum = pIdxInfo->idxNum;
179653 ** The lower 16-bits of the sqlite3_index_info.idxNum value set by
181270 pInfo->idxNum = FTS3_FULLSCAN_SEARCH;
181282 pInfo->idxNum = FTS3_FULLSCAN_SEARCH;
181294 pInfo->idxNum = FTS3_DOCID_SEARCH;
181311 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
181339 if( pInfo->idxNum==FTS3_DOCID_SEARCH ) fts3SetUniqueFlag(pInfo);
181347 pInfo->idxNum |= FTS3_HAVE_LANGID;
181351 pInfo->idxNum |= FTS3_HAVE_DOCID_GE;
181355 pInfo->idxNum |= FTS3_HAVE_DOCID_LE;
182928 ** If idxNum==FTS3_FULLSCAN_SEARCH then do a full table scan against
182931 ** If idxNum==FTS3_DOCID_SEARCH then do a docid lookup for a single entry
182934 ** If idxNum>=FTS3_FULLTEXT_SEARCH then use the full text index. The
182936 ** number idxNum-FTS3_FULLTEXT_SEARCH, 0 indexed. argv[0] is the right-hand
182941 int idxNum, /* Strategy index */
182965 eSearch = (idxNum & 0x0000FFFF);
182972 if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++];
182973 if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++];
182974 if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++];
185951 pInfo->idxNum = FTS4AUX_EQ_CONSTRAINT;
185955 pInfo->idxNum = 0;
185958 pInfo->idxNum += FTS4AUX_GE_CONSTRAINT;
185963 pInfo->idxNum += FTS4AUX_LE_CONSTRAINT;
186127 int idxNum, /* Strategy index */
186148 assert( idxNum==FTS4AUX_EQ_CONSTRAINT || idxNum==0
186149 || idxNum==FTS4AUX_LE_CONSTRAINT || idxNum==FTS4AUX_GE_CONSTRAINT
186150 || idxNum==(FTS4AUX_LE_CONSTRAINT|FTS4AUX_GE_CONSTRAINT)
186153 if( idxNum==FTS4AUX_EQ_CONSTRAINT ){
186157 if( idxNum & FTS4AUX_GE_CONSTRAINT ){
186160 if( idxNum & FTS4AUX_LE_CONSTRAINT ){
189672 pInfo->idxNum = 1;
189680 pInfo->idxNum = 0;
189761 int idxNum, /* Strategy index */
189773 if( idxNum==1 ){
200685 ** column. Without such a constraint, the table cannot operate. idxNum is
200729 pIdxInfo->idxNum = 0;
200736 pIdxInfo->idxNum = 1; /* Only JSON supplied. Plan 1 */
200741 pIdxInfo->idxNum = 3; /* Both JSON and ROOT are supplied. Plan 3 */
200750 int idxNum, const char *idxStr,
200761 if( idxNum==0 ) return SQLITE_OK;
200782 if( idxNum==3 ){
201230 int iStrategy; /* Copy of idxNum search parameter */
202780 int idxNum, const char *idxStr,
202795 pCsr->iStrategy = idxNum;
202796 if( idxNum==1 ){
202902 ** idxNum idxStr Strategy
202965 pIdxInfo->idxNum = 1;
203004 pIdxInfo->idxNum = 2;
206693 int idxNum, /* Query plan */
206708 pCsr->iStrategy = idxNum;
206709 if( idxNum==1 ){
206733 if( rc==SQLITE_OK && idxNum<=3 ){
206749 if( idxNum==2 ){
206815 ** idxNum idxStr Strategy
206827 int idxNum = 0;
206841 idxNum = p->op - SQLITE_INDEX_CONSTRAINT_FUNCTION + 2;
206846 pIdxInfo->idxNum = 1;
206856 pIdxInfo->idxNum = idxNum;
206864 pIdxInfo->idxNum = 4;
214389 ** Compute the best query strategy and return the result in idxNum.
214391 ** idxNum-Bit Meaning
214404 /* Look for a valid schema=? constraint. If found, change the idxNum to
214434 pIdxInfo->idxNum |= 0x01;
214438 pIdxInfo->idxNum |= 0x02;
214442 pIdxInfo->idxNum |= 0x04;
214462 pIdxInfo->idxNum |= 0x08;
214912 /* Initialize a cursor according to the query plan idxNum using the
214914 ** meaning of the bits in idxNum.
214918 int idxNum, const char *idxStr,
214932 if( idxNum & 0x01 ){
214944 if( idxNum & 0x02 ){
214948 if( idxNum & 0x04 ){
214965 if( idxNum & 0x08 ){
215190 ** idxNum:
215238 pIdxInfo->idxNum = iPlan;
215295 ** idxNum:
215306 int idxNum, const char *idxStr,
215319 if( idxNum & 2 ){
215333 if( idxNum & 1 ){
215334 assert( argc>(idxNum>>1) );
215335 pCsr->pgno = sqlite3_value_int(argv[idxNum>>1]);
237032 ** Bits that make up the "idxNum" parameter passed indirectly by
237330 ** Information for the xFilter call is passed via both the idxNum and
237331 ** idxStr variables. Specifically, idxNum is a bitmask of the following
237506 pInfo->idxNum = idxFlags;
238035 int idxNum, /* Strategy index */
238142 bOrderByRank = ((idxNum & FTS5_BI_ORDER_RANK) ? 1 : 0);
238143 pCsr->bDesc = bDesc = ((idxNum & FTS5_BI_ORDER_DESC) ? 1 : 0);
243555 ** Bits for the mask used as the idxNum value by xBestIndex/xFilter.
243736 int idxNum = 0;
243754 idxNum |= FTS5_VOCAB_TERM_EQ;
243760 idxNum |= FTS5_VOCAB_TERM_GE;
243765 idxNum |= FTS5_VOCAB_TERM_LE;
243783 pInfo->idxNum = idxNum;
244067 int idxNum, /* Strategy index */
244089 if( idxNum & FTS5_VOCAB_TERM_EQ ) pEq = apVal[iVal++];
244090 if( idxNum & FTS5_VOCAB_TERM_GE ) pGe = apVal[iVal++];
244091 if( idxNum & FTS5_VOCAB_TERM_LE ) pLe = apVal[iVal++];
244473 int idxNum, const char *idxStr,