diff options
author | Galina Shalygina <galina.shalygina@mariadb.com> | 2018-05-10 23:01:41 +0200 |
---|---|---|
committer | Galina Shalygina <galina.shalygina@mariadb.com> | 2018-05-12 12:42:42 +0200 |
commit | 8b26fea83572cf5c043721b7835c3828937f9c27 (patch) | |
tree | 51cffad343275d58bc38abe13986a63c19858a2e /sql/item_cmpfunc.h | |
parent | 77867c147b8a278977203ad33d7daff0587a112a (diff) | |
download | mariadb-git-8b26fea83572cf5c043721b7835c3828937f9c27.tar.gz |
MDEV-16088: Pushdown into materialized views/derived tables doesn't
work in the IN subqueries
The pushdown into the materialized derived table/view wasn't done because
optimize() for the derived was called before any conditions that can
be pushed down were extracted. So optimize() in
convert_join_subqueries_to_semijoins() method is called too early and is
unnecessary. The second optimize() call in mysql_handle_single_derived()
is enough.
Diffstat (limited to 'sql/item_cmpfunc.h')
0 files changed, 0 insertions, 0 deletions