Lines Matching refs:BMS

880       cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol);  in constructAutomaticIndex()
881 testcase( iCol==BMS ); in constructAutomaticIndex()
882 testcase( iCol==BMS-1 ); in constructAutomaticIndex()
911 extraCols = pSrc->colUsed & (~idxCols | MASKBIT(BMS-1)); in constructAutomaticIndex()
912 mxBitCol = MIN(BMS-1,pTable->nCol); in constructAutomaticIndex()
913 testcase( pTable->nCol==BMS-1 ); in constructAutomaticIndex()
914 testcase( pTable->nCol==BMS-2 ); in constructAutomaticIndex()
918 if( pSrc->colUsed & MASKBIT(BMS-1) ){ in constructAutomaticIndex()
919 nKeyCol += pTable->nCol - BMS + 1; in constructAutomaticIndex()
936 cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol); in constructAutomaticIndex()
937 testcase( iCol==BMS-1 ); in constructAutomaticIndex()
938 testcase( iCol==BMS ); in constructAutomaticIndex()
961 if( pSrc->colUsed & MASKBIT(BMS-1) ){ in constructAutomaticIndex()
962 for(i=BMS-1; i<pTable->nCol; i++){ in constructAutomaticIndex()
3278 if( pExpr->iColumn<(BMS-1) ) return WRC_Continue; in whereIsCoveringIndexWalkCallback()
3319 if( pIdx->aiColumn[i]>=BMS-1 ) break; in whereIsCoveringIndex()
4414 testcase( nOrderBy==BMS-1 ); in wherePathSatisfiesOrderBy()
4415 if( nOrderBy>BMS-1 ) return 0; /* Cannot optimize overly large ORDER BYs */ in wherePathSatisfiesOrderBy()
4671 Bitmask m = ALWAYS(i<BMS) ? MASKBIT(i) - 1 : 0; in wherePathSatisfiesOrderBy()
5660 testcase( pOrderBy && pOrderBy->nExpr==BMS-1 ); in sqlite3WhereBegin()
5661 if( pOrderBy && pOrderBy->nExpr>=BMS ) pOrderBy = 0; in sqlite3WhereBegin()
5666 testcase( pTabList->nSrc==BMS ); in sqlite3WhereBegin()
5667 if( pTabList->nSrc>BMS ){ in sqlite3WhereBegin()
5668 sqlite3ErrorMsg(pParse, "at most %d tables in a join", BMS); in sqlite3WhereBegin()
6021 testcase( pWInfo->eOnePass==ONEPASS_OFF && pTab->nCol==BMS-1 ); in sqlite3WhereBegin()
6022 testcase( pWInfo->eOnePass==ONEPASS_OFF && pTab->nCol==BMS ); in sqlite3WhereBegin()
6024 && pTab->nCol<BMS in sqlite3WhereBegin()