Lines Matching defs:colUsed
7463 ** The colUsed field indicates which columns of the virtual table may be
7467 ** the corresponding bit is set within the colUsed mask if the column may be
7469 ** to the right of the first 63 is required, then bit 63 of colUsed is also
7471 ** (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
7562 sqlite3_uint64 colUsed; /* Input: Mask of columns used by statement */
18065 ** The colNotIdxed bitmask is used in combination with SrcItem.colUsed
18069 ** "colUsed & colNotIdxed" will be non-zero if the index is not a
18072 ** table is used, the "colUsed & colNotIdxed" test will always be non-zero
18580 ** In the colUsed field, the high-order bit (bit 63) is set if the table
18622 Bitmask colUsed; /* Bit N set if column N used. Details above for N>62 */
31529 pItem->pTab->zName, pItem->pTab->nCol, pItem->pTab, pItem->colUsed);
103833 ** return the appropriate colUsed mask.
104392 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
104396 ** The colUsed mask is an optimization used to help determine if an
104406 pMatch->colUsed |= sqlite3ExprColUsed(pExpr);
104455 pItem->colUsed = pTab->nCol>=64 ? ALLBITS : MASKBIT(pTab->nCol)-1;
104459 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
107510 pNewItem->colUsed = pOldItem->colUsed;
108653 Bitmask colUsed; /* Columns of the index used */
108670 colUsed = 0; /* Columns of index used so far */
108688 if( mCol & colUsed ) break; /* Each column used only once */
108689 colUsed |= mCol;
108693 assert( i==nExpr || colUsed!=(MASKBIT(nExpr)-1) );
108694 if( colUsed==(MASKBIT(nExpr)-1) ){
119765 ** The colNotIdxed mask is AND-ed with the SrcList.a[].colUsed mask
142168 ** pSrcItem->colUsed mask.
142176 pItem->colUsed |= sqlite3ExprColUsed(pExpr);
142189 pSrcItem->colUsed = 0;
142892 /* Recompute the SrcItem.colUsed masks for the flattened
145223 if( pItem->colUsed==0 && pItem->zName!=0 ){
148399 ** So reset the colUsed mask. Unless this is a virtual table. In that
148400 ** case, set all bits of the colUsed mask (to ensure that the virtual
148403 pTabList->a[0].colUsed = IsVirtual(pTab) ? ALLBITS : 0;
156535 pItem->colUsed |= sqlite3ExprColUsed(pColRef);
157388 int mxBitCol; /* Maximum column in pSrc->colUsed */
157461 extraCols = pSrc->colUsed & (~idxCols | MASKBIT(BMS-1));
157468 if( pSrc->colUsed & MASKBIT(BMS-1) ){
157511 if( pSrc->colUsed & MASKBIT(BMS-1) ){
160104 m = pSrc->colUsed & pProbe->colNotIdxed;
160270 pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed;
161784 if( pIdx->isCovering || (pItem->colUsed & pIdx->colNotIdxed)==0 ){
162581 Bitmask b = pTabItem->colUsed;
162597 (const u8*)&pTabItem->colUsed, P4_INT64);
162653 u64 colUsed = 0;
162659 if( (pTabItem->colUsed & MASKBIT(jj))==0 ) continue;
162660 colUsed |= ((u64)1)<<(ii<63 ? ii : 63);
162663 (u8*)&colUsed, P4_INT64);