diff options
author | drh <drh@noemail.net> | 2016-01-20 02:36:12 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-01-20 02:36:12 +0000 |
commit | 939e778bc86722fed16a6d85771e4b1794b8e81a (patch) | |
tree | 5e7a69a22d443cb3ba5b77aeed1e8386828d2994 /src | |
parent | 9bfb024de09a48884c49e093ee07d2cb8e26574b (diff) | |
download | sqlite-939e778bc86722fed16a6d85771e4b1794b8e81a.tar.gz sqlite-939e778bc86722fed16a6d85771e4b1794b8e81a.zip |
Suppress the display of the P4 operand in EXPLAIN output when an opcode
has been converted into a No-op.
FossilOrigin-Name: 9f8297f862a110ded686d091854fae20c6bc393c
Diffstat (limited to 'src')
-rw-r--r-- | src/vdbeaux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c index 47ac9dd9f..d88fbac61 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -850,6 +850,7 @@ int sqlite3VdbeChangeToNoop(Vdbe *p, int addr){ pOp = &p->aOp[addr]; freeP4(p->db, pOp->p4type, pOp->p4.p); pOp->p4type = P4_NOTUSED; + pOp->p4.z = 0; pOp->opcode = OP_Noop; return 1; } |