Add an ALWAYS() on an unreachable branch.

FossilOrigin-Name: a00928d48061c1169d5564996e19e7d7c2b962842100bb119846d0f696123c23
This commit is contained in:
drh
2023-06-01 00:28:11 +00:00
parent e411b69537
commit f96148c4c6
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -6071,7 +6071,7 @@ static int impliesNotNullRow(Walker *pWalker, Expr *pExpr){
** both of which can be true. But apart from these cases, if
** the left-hand side of the IN is NULL then the IN itself will be
** NULL. */
if( ExprUseXList(pExpr) && pExpr->x.pList->nExpr>0 ){
if( ExprUseXList(pExpr) && ALWAYS(pExpr->x.pList->nExpr>0) ){
sqlite3WalkExpr(pWalker, pExpr->pLeft);
}
return WRC_Prune;