diff options
author | unknown <timour@askmonty.org> | 2013-03-29 17:53:21 +0200 |
---|---|---|
committer | unknown <timour@askmonty.org> | 2013-03-29 17:53:21 +0200 |
commit | 599a1384af7d38e4319bd6258c6954750f5b9ba4 (patch) | |
tree | 59be14d43461e4b717eb07c8e865e471756691b7 /mysql-test/t/contributors.test | |
parent | fa01b76be7b22b457e2f53fbceaaa371b7790491 (diff) | |
download | mariadb-git-599a1384af7d38e4319bd6258c6954750f5b9ba4.tar.gz |
Fix for MDEV-4144
Analysis:
The reason for the inefficent plan was that Item_subselect::is_expensive()
didn't detect the special case when a subquery was optimized, but had no
join plan because it either has no table, or its tables have been optimized
away, or the optimizer detected that the result set is empty.
Solution:
Identify the special cases above in the Item_subselect::is_expensive(),
and consider such degenerate subqueries inexpensive.
Diffstat (limited to 'mysql-test/t/contributors.test')
0 files changed, 0 insertions, 0 deletions