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

More aggressive use of EP_Leaf on expression nodes, to help prune searches.

FossilOrigin-Name: c1a1d68c8219c8072e60af5c46a30849ae9a04fa1a6b2a8b22b82fec069d691d
This commit is contained in:
drh
2017-07-07 12:43:57 +00:00
parent 3da70a6112
commit b98a2e351e
4 changed files with 10 additions and 9 deletions

View File

@@ -744,7 +744,7 @@ Expr *sqlite3ExprAlloc(
pNew->iAgg = -1;
if( pToken ){
if( nExtra==0 ){
pNew->flags |= EP_IntValue;
pNew->flags |= EP_IntValue|EP_Leaf;
pNew->u.iValue = iValue;
}else{
pNew->u.zToken = (char*)&pNew[1];