aboutsummaryrefslogtreecommitdiff
path: root/src/select.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/select.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/select.c')
-rw-r--r--src/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select.c b/src/select.c
index 595b6eb6b..6f8d45c4e 100644
--- a/src/select.c
+++ b/src/select.c
@@ -5493,7 +5493,7 @@ static void updateAccumulator(Parse *pParse, int regAcc, AggInfo *pAggInfo){
pAggInfo->directMode = 0;
if( addrHitTest ){
- sqlite3VdbeJumpHere(v, addrHitTest);
+ sqlite3VdbeJumpHereOrPopInst(v, addrHitTest);
}
}