Home
last modified time | relevance | path

Searched refs:colUsed (Results 1 – 15 of 15) sorted by relevance

/sqlite-3.40.0/src/
H A Dwhere.c911 extraCols = pSrc->colUsed & (~idxCols | MASKBIT(BMS-1)); in constructAutomaticIndex()
918 if( pSrc->colUsed & MASKBIT(BMS-1) ){ in constructAutomaticIndex()
961 if( pSrc->colUsed & MASKBIT(BMS-1) ){ in constructAutomaticIndex()
3554 m = pSrc->colUsed & pProbe->colNotIdxed; in whereLoopAddBtree()
3720 pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed; in whereLoopAddVirtualOne()
6031 Bitmask b = pTabItem->colUsed; in sqlite3WhereBegin()
6047 (const u8*)&pTabItem->colUsed, P4_INT64); in sqlite3WhereBegin()
6103 u64 colUsed = 0; in sqlite3WhereBegin() local
6109 if( (pTabItem->colUsed & MASKBIT(jj))==0 ) continue; in sqlite3WhereBegin()
6110 colUsed |= ((u64)1)<<(ii<63 ? ii : 63); in sqlite3WhereBegin()
[all …]
H A Dresolve.c731 pMatch->colUsed |= sqlite3ExprColUsed(pExpr); in lookupName()
780 pItem->colUsed = pTab->nCol>=64 ? ALLBITS : MASKBIT(pTab->nCol)-1; in sqlite3CreateColumnExpr()
784 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol); in sqlite3CreateColumnExpr()
H A Dexpr.c1697 pNewItem->colUsed = pOldItem->colUsed; in sqlite3SrcListDup()
2840 Bitmask colUsed; /* Columns of the index used */ in sqlite3FindInIndex() local
2857 colUsed = 0; /* Columns of index used so far */ in sqlite3FindInIndex()
2875 if( mCol & colUsed ) break; /* Each column used only once */ in sqlite3FindInIndex()
2876 colUsed |= mCol; in sqlite3FindInIndex()
2880 assert( i==nExpr || colUsed!=(MASKBIT(nExpr)-1) ); in sqlite3FindInIndex()
2881 if( colUsed==(MASKBIT(nExpr)-1) ){ in sqlite3FindInIndex()
H A Dtest_bestindex.c547 Tcl_SetObjResult(interp, Tcl_NewWideIntObj(pIdxInfo->colUsed)); in testBestIndexObj()
H A Dtest8.c770 if( pIdxInfo->colUsed & ((sqlite3_uint64)1 << (i>=63 ? 63 : i)) ){ in echoSelectList()
H A Dupdate.c563 pTabList->a[0].colUsed = IsVirtual(pTab) ? ALLBITS : 0; in sqlite3Update()
H A Dtreeview.c198 pItem->pTab->zName, pItem->pTab->nCol, pItem->pTab, pItem->colUsed); in sqlite3TreeViewSrcList()
H A Dwhereexpr.c1838 pItem->colUsed |= sqlite3ExprColUsed(pColRef); in sqlite3WhereTabFuncArgs()
H A Dselect.c3926 pItem->colUsed |= sqlite3ExprColUsed(pExpr); in recomputeColumnsUsedExpr()
3939 pSrcItem->colUsed = 0; in recomputeColumnsUsed()
6973 if( pItem->colUsed==0 && pItem->zName!=0 ){ in sqlite3Select()
H A DsqliteInt.h3144 Bitmask colUsed; /* Bit N set if column N used. Details above for N>62 */ member
H A Dsqlite.h.in7102 ** The colUsed field indicates which columns of the virtual table may be
7106 ** the corresponding bit is set within the colUsed mask if the column may be
7108 ** to the right of the first 63 is required, then bit 63 of colUsed is also
7110 ** (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
7201 sqlite3_uint64 colUsed; /* Input: Mask of columns used by statement */ member
/sqlite-3.40.0/test/
H A DvtabI.test12 # it tests the sqlite3_index_info.colUsed variable is set correctly.
H A Dvt02.c663 zLogTab, iBI, pInfo->colUsed in sqlite3BestIndexLog()
H A Dgencol1.test411 # Ensure that the SrcList_item.colUsed field is set correctly when a
/sqlite-3.40.0/ext/misc/
H A Dqpvtab.c403 sqlite3_str_appendf(pStr, "colUsed,%d,,,,\n", (int)pIdxInfo->colUsed); in qpvtabBestIndex()