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

@@ -478,6 +478,7 @@ static int lookupName(
sqlite3ExprDelete(db, pExpr->pRight);
pExpr->pRight = 0;
pExpr->op = (isTrigger ? TK_TRIGGER : TK_COLUMN);
ExprSetProperty(pExpr, EP_Leaf);
lookupname_end:
if( cnt==1 ){
assert( pNC!=0 );