mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Additional unlikely() test cases. Logic tweaks to support test coverage.
FossilOrigin-Name: 5d00cce74a7aefaf30022ae971ab1e0451e0ad6e
This commit is contained in:
@@ -691,7 +691,7 @@ static int whereClauseInsert(WhereClause *pWC, Expr *p, u8 wtFlags){
|
||||
pTerm = &pWC->a[idx = pWC->nTerm++];
|
||||
if( wtFlags & TERM_VIRTUAL ){
|
||||
pTerm->truthProb = 0;
|
||||
}else if( p && ExprHasAnyProperty(p, EP_Hint) ){
|
||||
}else if( ALWAYS(p) && ExprHasAnyProperty(p, EP_Hint) ){
|
||||
pTerm->truthProb = whereCost(p->iTable) - 99;
|
||||
}else{
|
||||
pTerm->truthProb = -1;
|
||||
|
||||
Reference in New Issue
Block a user