1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Remove an unnecessary branch.

FossilOrigin-Name: a33179596f534067a58d68b77160f11ab13272b29f912d7cbe15ea00bbf03ade
This commit is contained in:
drh
2017-05-01 19:53:12 +00:00
parent 181a1167dc
commit c478c8daec
3 changed files with 9 additions and 11 deletions

View File

@@ -4907,9 +4907,7 @@ static int havingToWhereExprCb(Walker *pWalker, Expr *pExpr){
if( pNew ){
Expr *pWhere = *(p->ppWhere);
SWAP(Expr, *pNew, *pExpr);
if( pWhere ){
pNew = sqlite3ExprAnd(db, pWhere, pNew);
}
pNew = sqlite3ExprAnd(db, pWhere, pNew);
*(p->ppWhere) = pNew;
}
}