diff options
author | drh <drh@noemail.net> | 2017-07-12 20:43:23 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-07-12 20:43:23 +0000 |
commit | 0c2433003dcbb725c8e44eaa5fc7a6aa0816cbdf (patch) | |
tree | 259c723fe2d77da90391f91dd70c01dbbafc7517 /src/vdbeaux.c | |
parent | 7ccf95dbab421130f0b10de267798c96ed472018 (diff) | |
download | sqlite-0c2433003dcbb725c8e44eaa5fc7a6aa0816cbdf.tar.gz sqlite-0c2433003dcbb725c8e44eaa5fc7a6aa0816cbdf.zip |
Smaller and faster implementation for vdbeFreeOpArray() and freeP4().
FossilOrigin-Name: 0c80593520d30958231be41fc443209eb39e0b3ee0e66308c3ef3a0f4cb8ea66
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r-- | src/vdbeaux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c index ef5420e23..66b295124 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -886,7 +886,7 @@ static void vdbeFreeOpArray(sqlite3 *db, Op *aOp, int nOp){ if( aOp ){ Op *pOp; for(pOp=&aOp[nOp-1]; pOp>=aOp; pOp--){ - if( pOp->p4type ) freeP4(db, pOp->p4type, pOp->p4.p); + if( pOp->p4type <= P4_FREE_IF_LE ) freeP4(db, pOp->p4type, pOp->p4.p); #ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS sqlite3DbFree(db, pOp->zComment); #endif |