Lines Matching defs:colUsed

7908 ** The colUsed field indicates which columns of the virtual table may be
7912 ** the corresponding bit is set within the colUsed mask if the column may be
7914 ** to the right of the first 63 is required, then bit 63 of colUsed is also
7916 ** (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
8007 sqlite3_uint64 colUsed; /* Input: Mask of columns used by statement */
18432 Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */
18459 ** In the colUsed field, the high-order bit (bit 63) is set if the table
29892 pItem->pTab->zName, pItem->pTab->nCol, pItem->pTab, pItem->colUsed);
98812 ** return the appropriate colUsed mask.
99247 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
99251 ** The colUsed mask is an optimization used to help determine if an
99261 pMatch->colUsed |= sqlite3ExprColUsed(pExpr);
99317 pItem->colUsed = pTab->nCol>=64 ? ALLBITS : MASKBIT(pTab->nCol)-1;
99321 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
102230 pNewItem->colUsed = pOldItem->colUsed;
103305 Bitmask colUsed; /* Columns of the index used */
103322 colUsed = 0; /* Columns of index used so far */
103340 if( mCol & colUsed ) break; /* Each column used only once */
103341 colUsed |= mCol;
103345 assert( i==nExpr || colUsed!=(MASKBIT(nExpr)-1) );
103346 if( colUsed==(MASKBIT(nExpr)-1) ){
113691 ** The colNotIdxed mask is AND-ed with the SrcList.a[].colUsed mask
134787 ** pSrcItem->colUsed mask.
134795 pItem->colUsed |= sqlite3ExprColUsed(pExpr);
134808 pSrcItem->colUsed = 0;
135445 /* Recompute the SrcList_item.colUsed masks for the flattened
137438 if( pItem->colUsed==0 && pItem->zName!=0 ){
140462 ** So reset the colUsed mask. Unless this is a virtual table. In that
140463 ** case, set all bits of the colUsed mask (to ensure that the virtual
140466 pTabList->a[0].colUsed = IsVirtual(pTab) ? ALLBITS : 0;
149054 int mxBitCol; /* Maximum column in pSrc->colUsed */
149125 extraCols = pSrc->colUsed & (~idxCols | MASKBIT(BMS-1));
149132 if( pSrc->colUsed & MASKBIT(BMS-1) ){
149172 if( pSrc->colUsed & MASKBIT(BMS-1) ){
151413 m = pSrc->colUsed & pProbe->colNotIdxed;
151557 pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed;
152890 if( pIdx->isCovering || (pItem->colUsed & pIdx->colNotIdxed)==0 ){
153499 Bitmask b = pTabItem->colUsed;
153515 (const u8*)&pTabItem->colUsed, P4_INT64);
153567 u64 colUsed = 0;
153573 if( (pTabItem->colUsed & MASKBIT(jj))==0 ) continue;
153574 colUsed |= ((u64)1)<<(ii<63 ? ii : 63);
153577 (u8*)&colUsed, P4_INT64);