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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user