Lines Matching refs:idxNum
7852 int (*xFilter)(sqlite3_vtab_cursor*, int idxNum, const char *idxStr,
7937 ** ^The idxNum and idxStr values are recorded and passed into the
7958 ** output to show the idxNum as hex instead of as decimal. Another flag is
8004 int idxNum; /* Number used to identify the index */
8025 #define SQLITE_INDEX_SCAN_HEX 0x00000002 /* Display idxNum as hex */
107207 ** idxNum==0 means show all subprograms
107208 ** idxNum==1 means show only the main bytecode and omit subprograms.
107212 int idxNum, const char *idxStr,
107223 pCur->showSubprograms = idxNum==0;
107264 pIdxInfo->idxNum = 0;
107274 pIdxInfo->idxNum = 1;
143592 int idxNum, const char *idxStr,
143602 UNUSED_PARAMETER(idxNum);
159078 int idxNum; /* Index number */
159081 u32 bIdxNumHex : 1; /* Show idxNum as hex in EXPLAIN QUERY PLAN */
159781 pLoop->u.vtab.idxNum, pLoop->u.vtab.idxStr);
161184 sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg);
165257 sqlite3DebugPrintf(" idxNum=%d\n", p->idxNum);
166922 p->u.vtab.idxNum, p->u.vtab.idxStr, p->u.vtab.omitMask);
166924 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
168725 pIdxInfo->idxNum = 0;
168832 pNew->u.vtab.idxNum = pIdxInfo->idxNum;
189043 ** The lower 16-bits of the sqlite3_index_info.idxNum value set by
190664 pInfo->idxNum = FTS3_FULLSCAN_SEARCH;
190676 pInfo->idxNum = FTS3_FULLSCAN_SEARCH;
190688 pInfo->idxNum = FTS3_DOCID_SEARCH;
190705 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
190733 if( pInfo->idxNum==FTS3_DOCID_SEARCH ) fts3SetUniqueFlag(pInfo);
190741 pInfo->idxNum |= FTS3_HAVE_LANGID;
190745 pInfo->idxNum |= FTS3_HAVE_DOCID_GE;
190749 pInfo->idxNum |= FTS3_HAVE_DOCID_LE;
192327 ** If idxNum==FTS3_FULLSCAN_SEARCH then do a full table scan against
192330 ** If idxNum==FTS3_DOCID_SEARCH then do a docid lookup for a single entry
192333 ** If idxNum>=FTS3_FULLTEXT_SEARCH then use the full text index. The
192335 ** number idxNum-FTS3_FULLTEXT_SEARCH, 0 indexed. argv[0] is the right-hand
192340 int idxNum, /* Strategy index */
192364 eSearch = (idxNum & 0x0000FFFF);
192371 if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++];
192372 if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++];
192373 if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++];
195440 pInfo->idxNum = FTS4AUX_EQ_CONSTRAINT;
195444 pInfo->idxNum = 0;
195447 pInfo->idxNum += FTS4AUX_GE_CONSTRAINT;
195452 pInfo->idxNum += FTS4AUX_LE_CONSTRAINT;
195616 int idxNum, /* Strategy index */
195637 assert( idxNum==FTS4AUX_EQ_CONSTRAINT || idxNum==0
195638 || idxNum==FTS4AUX_LE_CONSTRAINT || idxNum==FTS4AUX_GE_CONSTRAINT
195639 || idxNum==(FTS4AUX_LE_CONSTRAINT|FTS4AUX_GE_CONSTRAINT)
195642 if( idxNum==FTS4AUX_EQ_CONSTRAINT ){
195646 if( idxNum & FTS4AUX_GE_CONSTRAINT ){
195649 if( idxNum & FTS4AUX_LE_CONSTRAINT ){
199181 pInfo->idxNum = 1;
199189 pInfo->idxNum = 0;
199270 int idxNum, /* Strategy index */
199282 if( idxNum==1 ){
213100 ** column. Without such a constraint, the table cannot operate. idxNum is
213151 pIdxInfo->idxNum = 0;
213158 pIdxInfo->idxNum = 1; /* Only JSON supplied. Plan 1 */
213163 pIdxInfo->idxNum = 3; /* Both JSON and ROOT are supplied. Plan 3 */
213172 int idxNum, const char *idxStr,
213182 if( idxNum==0 ) return SQLITE_OK;
213202 if( idxNum==3 ){
213713 int iStrategy; /* Copy of idxNum search parameter */
215279 int idxNum, const char *idxStr,
215294 pCsr->iStrategy = idxNum;
215295 if( idxNum==1 ){
215415 ** idxNum idxStr Strategy
215478 pIdxInfo->idxNum = 1;
215518 pIdxInfo->idxNum = 2;
219080 int idxNum, /* Query plan */
219096 pCsr->iStrategy = idxNum;
219097 if( idxNum==1 ){
219121 if( rc==SQLITE_OK && idxNum<=3 ){
219137 if( idxNum==2 ){
219203 ** idxNum idxStr Strategy
219215 int idxNum = 0;
219230 idxNum = p->op - SQLITE_INDEX_CONSTRAINT_FUNCTION + 2;
219235 pIdxInfo->idxNum = 1;
219245 pIdxInfo->idxNum = idxNum;
219253 pIdxInfo->idxNum = 4;
226888 ** Compute the best query strategy and return the result in idxNum.
226890 ** idxNum-Bit Meaning
226904 /* Look for a valid schema=? constraint. If found, change the idxNum to
226934 pIdxInfo->idxNum |= 0x01;
226938 pIdxInfo->idxNum |= 0x02;
226942 pIdxInfo->idxNum |= 0x04;
226962 pIdxInfo->idxNum |= 0x08;
227413 /* Initialize a cursor according to the query plan idxNum using the
227415 ** meaning of the bits in idxNum.
227419 int idxNum, const char *idxStr,
227435 if( idxNum & 0x01 ){
227447 if( idxNum & 0x02 ){
227451 if( idxNum & 0x04 ){
227468 if( idxNum & 0x08 ){
227706 ** idxNum:
227755 pIdxInfo->idxNum = iPlan;
227811 ** idxNum:
227822 int idxNum, const char *idxStr,
227837 if( idxNum & 2 ){
227851 if( idxNum & 1 ){
227852 assert( argc>(idxNum>>1) );
227853 pCsr->pgno = sqlite3_value_int(argv[idxNum>>1]);
253444 pIdxInfo->idxNum = 0;
253583 ** idxNum==0 means show all subprograms
253584 ** idxNum==1 means show only the main bytecode and omit subprograms.
253588 int idxNum, const char *idxStr,
253923 ** Bits that make up the "idxNum" parameter passed indirectly by
254235 ** Information for the xFilter call is passed via both the idxNum and
254236 ** idxStr variables. Specifically, idxNum is a bitmask of the following
254416 pInfo->idxNum = idxFlags;
255095 int idxNum, /* Strategy index */
255212 bOrderByRank = ((idxNum & FTS5_BI_ORDER_RANK) ? 1 : 0);
255213 pCsr->bDesc = bDesc = ((idxNum & FTS5_BI_ORDER_DESC) ? 1 : 0);
261782 ** Bits for the mask used as the idxNum value by xBestIndex/xFilter.
261965 int idxNum = (int)pInfo->colUsed;
261985 idxNum |= FTS5_VOCAB_TERM_EQ;
261991 idxNum |= FTS5_VOCAB_TERM_GE;
261996 idxNum |= FTS5_VOCAB_TERM_LE;
262014 pInfo->idxNum = idxNum;
262308 int idxNum, /* Strategy index */
262330 if( idxNum & FTS5_VOCAB_TERM_EQ ) pEq = apVal[iVal++];
262331 if( idxNum & FTS5_VOCAB_TERM_GE ) pGe = apVal[iVal++];
262332 if( idxNum & FTS5_VOCAB_TERM_LE ) pLe = apVal[iVal++];
262333 pCsr->colUsed = (idxNum & FTS5_VOCAB_COLUSED_MASK);
262720 int idxNum, const char *idxStr,
262728 (void)idxNum;