1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Rerun the subroutines that compute row-values if necessary from within

the RIGHT JOIN body subroutine.

FossilOrigin-Name: 9b9038bcd0ab5c4f01661456635526cef764f854ff24018a5e6e43825d07eb59
This commit is contained in:
drh
2022-04-14 16:34:07 +00:00
parent 37f5584a2f
commit 2c31c00bfa
6 changed files with 22 additions and 15 deletions

View File

@@ -2771,6 +2771,8 @@ Bitmask sqlite3WhereCodeOneLoopStart(
*/
sqlite3VdbeAddOp2(v, OP_BeginSubrtn, 0, pRJ->regReturn);
pRJ->addrSubrtn = sqlite3VdbeCurrentAddr(v);
assert( pParse->withinRJSubrtn < 255 );
pParse->withinRJSubrtn++;
}
#if WHERETRACE_ENABLED /* 0x20800 */