diff options
author | drh <drh@noemail.net> | 2016-12-06 22:47:23 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-12-06 22:47:23 +0000 |
commit | abfd35ea03475fab71b71e1320f103dc43cce523 (patch) | |
tree | b6cfaad80d8b8202d76222258efa16e6855ade2f /src/wherecode.c | |
parent | 2b519ab0155a0559888a571659b7a68e922db06d (diff) | |
download | sqlite-abfd35ea03475fab71b71e1320f103dc43cce523.tar.gz sqlite-abfd35ea03475fab71b71e1320f103dc43cce523.zip |
Performance improvement and size reduction in the Expr node allocator
function sqlite3PExpr().
FossilOrigin-Name: 2a81763e68cdf9b8c46389b1e1a87bc2084b53e7
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index 9a4961d29..00c50b1ec 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -1175,7 +1175,7 @@ Bitmask sqlite3WhereCodeOneLoopStart( /* Generate code that will continue to the next row if ** the IN constraint is not satisfied */ - pCompare = sqlite3PExpr(pParse, TK_EQ, 0, 0, 0); + pCompare = sqlite3PExpr(pParse, TK_EQ, 0, 0); assert( pCompare!=0 || db->mallocFailed ); if( pCompare ){ pCompare->pLeft = pTerm->pExpr->pLeft; @@ -1774,7 +1774,7 @@ Bitmask sqlite3WhereCodeOneLoopStart( pAndExpr = sqlite3ExprAnd(db, pAndExpr, pExpr); } if( pAndExpr ){ - pAndExpr = sqlite3PExpr(pParse, TK_AND|TKFLG_DONTFOLD, 0, pAndExpr, 0); + pAndExpr = sqlite3PExpr(pParse, TK_AND|TKFLG_DONTFOLD, 0, pAndExpr); } } |