aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordrh <>2022-04-23 19:26:34 +0000
committerdrh <>2022-04-23 19:26:34 +0000
commit7980fadceff1593fe703bb5d0b48ab1772ef81ae (patch)
treea81917f87765d4a3d8f028a1401ef8f2234676c1 /src/wherecode.c
parentd63c07e6c58d9c54346f1d7e0b48652991161f79 (diff)
parentecb386b71fcb72afe5ee133e17ea6b540017f3ca (diff)
downloadsqlite-7980fadceff1593fe703bb5d0b48ab1772ef81ae.tar.gz
sqlite-7980fadceff1593fe703bb5d0b48ab1772ef81ae.zip
Merge enhancements and fixes from trunk into the right-join branch.
FossilOrigin-Name: 2fb165cf8bd1e43248612aa2922bd311df30dcbb3c2f1daee73c363e409c501f
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index 4f525a8fb..3ea6c5d8e 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -2819,6 +2819,8 @@ SQLITE_NOINLINE void sqlite3WhereRightJoinLoop(
int k;
ExplainQueryPlan((pParse, 1, "RIGHT-JOIN %s", pTabItem->pTab->zName));
+ sqlite3VdbeNoJumpsOutsideSubrtn(v, pRJ->addrSubrtn, pRJ->endSubrtn,
+ pRJ->regReturn);
for(k=0; k<iLevel; k++){
int iIdxCur;
mAll |= pWInfo->a[k].pWLoop->maskSelf;