diff options
author | dan <dan@noemail.net> | 2019-05-18 21:22:25 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2019-05-18 21:22:25 +0000 |
commit | 7ac0e562a384a45458aa66c8cffeabaf532e111c (patch) | |
tree | 1ef48f5c58f45a88937491c40afc37dc27f5789b /src/expr.c | |
parent | 4db4b5b4fe62fc9055209e4341d33ed3dd20d70f (diff) | |
download | sqlite-7ac0e562a384a45458aa66c8cffeabaf532e111c.tar.gz sqlite-7ac0e562a384a45458aa66c8cffeabaf532e111c.zip |
Fix an assert() failure that could occur in a join query if the RHS of an IN() operator is a list containing correlated expressions. This problem was introduced by checkin [e130319317e7611938] which was part of the fix for ticket [787fa716be3a7f650c] - so this commit is part of that ticket's fix too.
FossilOrigin-Name: 778b1224a318d0137c7dab8361128f593506d3677267898119b934b4d66dfe38
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c index a905c28c9..4b37e5525 100644 --- a/src/expr.c +++ b/src/expr.c @@ -2808,6 +2808,7 @@ void sqlite3CodeRhsOfIN( */ if( addrOnce && !sqlite3ExprIsConstant(pE2) ){ sqlite3VdbeChangeToNoop(v, addrOnce); + ExprClearProperty(pExpr, EP_Subrtn); addrOnce = 0; } |