Lines Matching refs:testcase
374 testcase( pTerm->eOperator & WO_IS ); in whereScanNext()
517 testcase( p->eOperator & WO_IS ); in sqlite3WhereFindTerm()
764 testcase( (pSrc->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))==JT_LEFT ); in constraintCompatibleWithOuterJoin()
765 testcase( (pSrc->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))==JT_LTORJ ); in constraintCompatibleWithOuterJoin()
766 testcase( ExprHasProperty(pTerm->pExpr, EP_OuterON) ) in constraintCompatibleWithOuterJoin()
767 testcase( ExprHasProperty(pTerm->pExpr, EP_InnerON) ); in constraintCompatibleWithOuterJoin()
808 testcase( pTerm->pExpr->op==TK_IS ); in termCanDriveIndex()
881 testcase( iCol==BMS ); in constructAutomaticIndex()
882 testcase( iCol==BMS-1 ); in constructAutomaticIndex()
913 testcase( pTable->nCol==BMS-1 ); in constructAutomaticIndex()
914 testcase( pTable->nCol==BMS-2 ); in constructAutomaticIndex()
937 testcase( iCol==BMS-1 ); in constructAutomaticIndex()
938 testcase( iCol==BMS ); in constructAutomaticIndex()
1013 testcase( pParse->db->mallocFailed ); in constructAutomaticIndex()
1203 testcase( pTerm->eOperator & WO_IN ); in allocateIndexInfo()
1204 testcase( pTerm->eOperator & WO_ISNULL ); in allocateIndexInfo()
1205 testcase( pTerm->eOperator & WO_IS ); in allocateIndexInfo()
1206 testcase( pTerm->eOperator & WO_ALL ); in allocateIndexInfo()
1333 testcase( j!=i ); in allocateIndexInfo()
1850 testcase( pRec->nField!=pBuilder->nRecValid ); in whereRangeScanEst()
2674 testcase( pTerm->pExpr->op==TK_IS ); in whereLoopOutputAdjust()
2750 testcase( pLhs->iColumn==XN_ROWID ); in whereRangeVectorLen()
2979 testcase( eOp & WO_GT ); in whereLoopAddBtreeIndex()
2980 testcase( eOp & WO_GE ); in whereLoopAddBtreeIndex()
2999 testcase( eOp & WO_LT ); in whereLoopAddBtreeIndex()
3000 testcase( eOp & WO_LE ); in whereLoopAddBtreeIndex()
3026 testcase( eOp & WO_IN ); in whereLoopAddBtreeIndex()
3040 testcase( eOp & WO_EQ ); in whereLoopAddBtreeIndex()
3041 testcase( eOp & WO_IS ); in whereLoopAddBtreeIndex()
3042 testcase( eOp & WO_ISNULL ); in whereLoopAddBtreeIndex()
3498 testcase( pNew->iTab!=pSrc->iCursor ); /* See ticket [98d973b8f5] */ in whereLoopAddBtree()
3754 testcase( pIdxInfo->needToFreeIdxStr ); in whereLoopAddVirtualOne()
3757 testcase( iTerm==nConstraint-1 ); in whereLoopAddVirtualOne()
3758 testcase( j==0 ); in whereLoopAddVirtualOne()
3759 testcase( j==pWC->nTerm-1 ); in whereLoopAddVirtualOne()
3765 testcase( iTerm==15 ); in whereLoopAddVirtualOne()
3766 testcase( iTerm==16 ); in whereLoopAddVirtualOne()
3769 testcase( i!=iTerm ); in whereLoopAddVirtualOne()
3772 testcase( i!=iTerm ); in whereLoopAddVirtualOne()
3815 testcase( pIdxInfo->needToFreeIdxStr ); in whereLoopAddVirtualOne()
3921 testcase( rc!=SQLITE_OK ); in sqlite3_vtab_rhs_value()
4201 testcase( rc==SQLITE_NOMEM && sCur.n>0 ); in whereLoopAddOr()
4202 testcase( rc==SQLITE_DONE ); in whereLoopAddOr()
4414 testcase( nOrderBy==BMS-1 ); in wherePathSatisfiesOrderBy()
4475 testcase( pTerm->pExpr->op==TK_IS ); in wherePathSatisfiesOrderBy()
4529 testcase( eOp & WO_ISNULL ); in wherePathSatisfiesOrderBy()
4530 testcase( eOp & WO_IS ); in wherePathSatisfiesOrderBy()
4531 testcase( isOrderDistinct ); in wherePathSatisfiesOrderBy()
4585 testcase( wctrlFlags & WHERE_GROUPBY ); in wherePathSatisfiesOrderBy()
4586 testcase( wctrlFlags & WHERE_DISTINCTBY ); in wherePathSatisfiesOrderBy()
4633 testcase( distinctColumns==0 ); in wherePathSatisfiesOrderBy()
4640 testcase( isOrderDistinct!=0 ); in wherePathSatisfiesOrderBy()
4647 testcase( isOrderDistinct==0 ); in wherePathSatisfiesOrderBy()
4946 testcase( jj==nTo-1 ); in wherePathSolver()
5012 testcase( pTo->rCost==rCost ); in wherePathSolver()
5015 testcase( pTo->rCost==rCost+1 ); in wherePathSolver()
5129 testcase( wsFlags & WHERE_IPK ); in wherePathSolver()
5130 testcase( wsFlags & WHERE_COLUMN_IN ); in wherePathSolver()
5197 testcase( pItem->fg.isIndexedBy ); in whereShortCut()
5198 testcase( pItem->fg.notIndexed ); in whereShortCut()
5209 testcase( pTerm->eOperator & WO_IS ); in whereShortCut()
5229 testcase( pTerm->eOperator & WO_IS ); in whereShortCut()
5448 testcase( pItem->fg.jointype & JT_LEFT ); in whereCheckIfBloomFilterIsUseful()
5504 testcase( pTabItem->fg.jointype & JT_LEFT ); in whereAddIndexedExpr()
5505 testcase( pTabItem->fg.jointype & JT_RIGHT ); in whereAddIndexedExpr()
5506 testcase( pTabItem->fg.jointype & JT_LTORJ ); in whereAddIndexedExpr()
5660 testcase( pOrderBy && pOrderBy->nExpr==BMS-1 ); in sqlite3WhereBegin()
5666 testcase( pTabList->nSrc==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()
6446 testcase( pParse->db->mallocFailed ); in sqlite3WhereEnd()
6520 testcase( x!=sqlite3StorageColumnToTable(pTab,x) ); in sqlite3WhereEnd()