aboutsummaryrefslogtreecommitdiff
path: root/src/fkey.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-02-07 19:44:13 +0000
committerdrh <drh@noemail.net>2020-02-07 19:44:13 +0000
commitdc4f6fc099b3fd2476f95286503985f1a22370bc (patch)
tree4270e12b34467a53fe7bffd2462bd572db57201c /src/fkey.c
parentb48c0d59faf3bfd3e1fc0c3bed5557816c36cb7e (diff)
downloadsqlite-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/fkey.c')
-rw-r--r--src/fkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fkey.c b/src/fkey.c
index 9698d343c..7bc20fed0 100644
--- a/src/fkey.c
+++ b/src/fkey.c
@@ -658,7 +658,7 @@ static void fkScanChildren(
/* Clean up the WHERE clause constructed above. */
sqlite3ExprDelete(db, pWhere);
if( iFkIfZero ){
- sqlite3VdbeJumpHere(v, iFkIfZero);
+ sqlite3VdbeJumpHereOrPopInst(v, iFkIfZero);
}
}