summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorVarun Gupta <varun.gupta@mariadb.com>2020-05-11 19:56:14 +0530
committerVarun Gupta <varun.gupta@mariadb.com>2020-05-11 20:01:11 +0530
commit3f7e71439f6fb781a6eff0a70dfbf65ba9ef3540 (patch)
treefb151e6dc4a0404178434229129ad3909bf33e20 /sql/sql_select.cc
parent1887b5ae87ac0d1519f95a1e2f59efe09aded98f (diff)
downloadmariadb-git-10.1-mdev22498.tar.gz
MDEV-22498: SIGSEGV in Bitmap<64u>::merge on SELECT10.1-mdev22498
For the case when the optimizer does the IN-EXISTS transformation, the equality condition is injected in the WHERE OR HAVING clause of the subquery. If the select list of the subquery has a reference to the parent select make sure to use the reference and not the original item.
Diffstat (limited to 'sql/sql_select.cc')
0 files changed, 0 insertions, 0 deletions