Lines Matching defs:colUsed
7700 ** The colUsed field indicates which columns of the virtual table may be
7704 ** the corresponding bit is set within the colUsed mask if the column may be
7706 ** to the right of the first 63 is required, then bit 63 of colUsed is also
7708 ** (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to
7799 sqlite3_uint64 colUsed; /* Input: Mask of columns used by statement */
10260 ** contain the same values for all columns identified by "colUsed", all but
10263 ** over the "colUsed" columns, but if the virtual table can do that without
10271 ** identified by "colUsed", then all but one such row may optionally be
10273 ** is not required to omit rows that are duplicates over the "colUsed"
10290 ** <td valign="top">Duplicates over all colUsed columns may be omitted
18713 ** The colNotIdxed bitmask is used in combination with SrcItem.colUsed
18717 ** "colUsed & colNotIdxed" will be non-zero if the index is not a
18720 ** table is used, the "colUsed & colNotIdxed" test will always be non-zero
19250 ** In the colUsed field, the high-order bit (bit 63) is set if the table
19295 Bitmask colUsed; /* Bit N set if column N used. Details above for N>62 */
32783 pItem->colUsed,
106901 ** return the appropriate colUsed mask.
107542 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
107546 ** The colUsed mask is an optimization used to help determine if an
107557 pMatch->colUsed |= sqlite3ExprColUsed(pExpr);
107609 pItem->colUsed = pTab->nCol>=64 ? ALLBITS : MASKBIT(pTab->nCol)-1;
107613 pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
110921 pNewItem->colUsed = pOldItem->colUsed;
112221 Bitmask colUsed; /* Columns of the index used */
112238 colUsed = 0; /* Columns of index used so far */
112255 if( mCol & colUsed ) break; /* Each column used only once */
112256 colUsed |= mCol;
112260 assert( i==nExpr || colUsed!=(MASKBIT(nExpr)-1) );
112261 if( colUsed==(MASKBIT(nExpr)-1) ){
123668 ** The colNotIdxed mask is AND-ed with the SrcList.a[].colUsed mask
146881 ** pSrcItem->colUsed mask.
146889 pItem->colUsed |= sqlite3ExprColUsed(pExpr);
146902 pSrcItem->colUsed = 0;
147620 /* Recompute the SrcItem.colUsed masks for the flattened
148218 Bitmask colUsed; /* Columns that may not be NULLed out */
148248 colUsed = pItem->colUsed;
148255 colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
148262 if( (m & colUsed)!=0 ) continue;
150559 if( pItem->colUsed==0 && pItem->zName!=0 ){
153833 ** So reset the colUsed mask. Unless this is a virtual table. In that
153834 ** case, set all bits of the colUsed mask (to ensure that the virtual
153837 pTabList->a[0].colUsed = IsVirtual(pTab) ? ALLBITS : 0;
162099 pItem->colUsed |= sqlite3ExprColUsed(pColRef);
163067 int mxBitCol; /* Maximum column in pSrc->colUsed */
163150 extraCols = pSrc->colUsed & (~idxCols | MASKBIT(BMS-1));
163158 if( pSrc->colUsed & MASKBIT(BMS-1) ){
163211 if( pSrc->colUsed & MASKBIT(BMS-1) ){
165681 ** a covering index by using the colUsed bitmasks. We have to do a search
166051 m = pSrc->colUsed & pProbe->colNotIdxed;
166263 pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed;
167869 if( pIdx->isCovering || (pItem->colUsed & pIdx->colNotIdxed)==0 ){
168801 Bitmask b = pTabItem->colUsed;
168817 (const u8*)&pTabItem->colUsed, P4_INT64);
168878 u64 colUsed = 0;
168884 if( (pTabItem->colUsed & MASKBIT(jj))==0 ) continue;
168885 colUsed |= ((u64)1)<<(ii<63 ? ii : 63);
168888 (u8*)&colUsed, P4_INT64);