Lines Matching refs:colUsed
7201 ** The colUsed field indicates which columns of the virtual table may be
7205 ** the corresponding bit is set within the colUsed mask if the column may be
7207 ** to the right of the first 63 is required, then bit 63 of colUsed is also
7209 ** (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
7294 sqlite3_uint64 colUsed; /* Input: Mask of columns used by statement */
16454 ** In the colUsed field, the high-order bit (bit 63) is set if the table
16485 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
91612 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
91624 pMatch->colUsed |= ((Bitmask)1)<<n;
91671 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
94103 pNewItem->colUsed = pOldItem->colUsed;
95020 Bitmask colUsed; /* Columns of the index used */
95036 colUsed = 0; /* Columns of index used so far */
95054 if( mCol & colUsed ) break; /* Each column used only once */
95055 colUsed |= mCol;
95059 assert( i==nExpr || colUsed!=(MASKBIT(nExpr)-1) );
95060 if( colUsed==(MASKBIT(nExpr)-1) ){
123983 if( pItem->colUsed==0 ){
126362 ** So reset the colUsed mask. Unless this is a virtual table. In that
126363 ** case, set all bits of the colUsed mask (to ensure that the virtual
126366 pTabList->a[0].colUsed = IsVirtual(pTab) ? ALLBITS : 0;
133577 int mxBitCol; /* Maximum column in pSrc->colUsed */
133648 extraCols = pSrc->colUsed & (~idxCols | MASKBIT(BMS-1));
133655 if( pSrc->colUsed & MASKBIT(BMS-1) ){
133694 if( pSrc->colUsed & MASKBIT(BMS-1) ){
135843 m = pSrc->colUsed & ~columnsInIndex(pProbe);
135986 pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed;
137232 if( pIdx->isCovering || (pItem->colUsed & ~columnsInIndex(pIdx))==0 ){
137784 Bitmask b = pTabItem->colUsed;
137800 (const u8*)&pTabItem->colUsed, P4_INT64);
137850 u64 colUsed = 0;
137856 if( (pTabItem->colUsed & MASKBIT(jj))==0 ) continue;
137857 colUsed |= ((u64)1)<<(ii<63 ? ii : 63);
137860 (u8*)&colUsed, P4_INT64);