aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-05-02 00:01:39 +0000
committerdrh <drh@noemail.net>2020-05-02 00:01:39 +0000
commit7e088a6c0aa2084f13fcae416077dde7e3e30adc (patch)
treee384c2b947b5918bba99a6b3408cf2df81b0578f /src/vdbeaux.c
parent51f1c6f3ec8b11e6b4b8d8a288471855f2fd8fbd (diff)
downloadsqlite-7e088a6c0aa2084f13fcae416077dde7e3e30adc.tar.gz
sqlite-7e088a6c0aa2084f13fcae416077dde7e3e30adc.zip
Corner-case changes to the bytecode virtual table for testability and
correctness. FossilOrigin-Name: baa720e4a88f268ed95337daab5f434fd3263b00f09101cddc6424765bf3b722
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index da8108a59..454be534b 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -1847,7 +1847,8 @@ void sqlite3VdbePrintOp(FILE *pOut, int pc, VdbeOp *pOp){
** by the mkopcodeh.awk and mkopcodec.awk scripts which extract the
** information from the vdbe.c source text */
fprintf(pOut, zFormat1, pc,
- sqlite3OpcodeName(pOp->opcode), pOp->p1, pOp->p2, pOp->p3, zP4, pOp->p5,
+ sqlite3OpcodeName(pOp->opcode), pOp->p1, pOp->p2, pOp->p3,
+ zP4 ? zP4 : "", pOp->p5,
zCom ? zCom : ""
);
fflush(pOut);