diff options
author | drh <drh@noemail.net> | 2020-08-19 23:32:06 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-08-19 23:32:06 +0000 |
commit | 46fe138d98664b30ada114b1f76b52e95d00575c (patch) | |
tree | 6e171ad2837c7407d96fc3d20d1d5dac0c1eb9a0 /src/select.c | |
parent | 1d42e619acb77717cbf318e6fb473b6a756e9160 (diff) | |
download | sqlite-46fe138d98664b30ada114b1f76b52e95d00575c.tar.gz sqlite-46fe138d98664b30ada114b1f76b52e95d00575c.zip |
Do not skip over TK_IF_NULL_ROW operators when bypassing TK_COLLATE operators.
Fix to check-in [ac31edd3eeafcef4] which was itself a fix for ticket
[45f4bf4eb4ffd788].
FossilOrigin-Name: 871f2ddcfbb9196dbd851a350e3471ee6d242d86bbd755201f7e2406fce3ac55
Diffstat (limited to 'src/select.c')
-rw-r--r-- | src/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select.c b/src/select.c index 8b1fae75a..9568dbadc 100644 --- a/src/select.c +++ b/src/select.c @@ -3506,7 +3506,7 @@ static Expr *substExpr( ifNullRow.op = TK_IF_NULL_ROW; ifNullRow.pLeft = pCopy; ifNullRow.iTable = pSubst->iNewTable; - ifNullRow.flags = EP_Skip; + ifNullRow.flags = EP_IfNullRow; pCopy = &ifNullRow; } testcase( ExprHasProperty(pCopy, EP_Subquery) ); |