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

Remove an unnecessary decision.

FossilOrigin-Name: adcb4665490404e8da2de128dd5df9aeed8e08893649dedb6788ebb5d957b400
This commit is contained in:
drh
2018-02-27 00:58:13 +00:00
parent 43c4ac8bfe
commit e39ef31cd6
3 changed files with 8 additions and 8 deletions

View File

@@ -1809,7 +1809,7 @@ static int exprNodeIsConstant(Walker *pWalker, Expr *pExpr){
case TK_ID:
/* Convert "true" or "false" in a DEFAULT clause into the
** appropriate TK_TRUEFALSE operator */
if( pWalker->eCode>=4 && sqlite3ExprIdToTrueFalse(pExpr) ){
if( sqlite3ExprIdToTrueFalse(pExpr) ){
return WRC_Prune;
}
/* Fall thru */