diff options
author | drh <drh@noemail.net> | 2020-02-07 19:44:13 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-02-07 19:44:13 +0000 |
commit | dc4f6fc099b3fd2476f95286503985f1a22370bc (patch) | |
tree | 4270e12b34467a53fe7bffd2462bd572db57201c /src/update.c | |
parent | b48c0d59faf3bfd3e1fc0c3bed5557816c36cb7e (diff) | |
download | sqlite-dc4f6fc099b3fd2476f95286503985f1a22370bc.tar.gz sqlite-dc4f6fc099b3fd2476f95286503985f1a22370bc.zip |
During byte-code generation, strive to avoid jumps that merely jump to the
following instruction.
FossilOrigin-Name: bcf876e67e75f6709f2b25683a3952bbbb87c672bb9d7af456feebc0ab9f6c31
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 61b1740b4..d54a6cb9f 100644 --- a/src/update.c +++ b/src/update.c @@ -616,7 +616,9 @@ void sqlite3Update( } sqlite3OpenTableAndIndices(pParse, pTab, OP_OpenWrite, 0, iBaseCur, aToOpen, 0, 0); - if( addrOnce ) sqlite3VdbeJumpHere(v, addrOnce); + if( addrOnce ){ + sqlite3VdbeJumpHereOrPopInst(v, addrOnce); + } } /* Top of the update loop */ |