[MDEV-4177] Wrong result (missing row) with join_cache_level>2, IN subquery after executing EXPLAIN for a different query Created: 2013-02-16 Updated: 2013-08-15 Resolved: 2013-03-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.1, 5.5.29, 5.3.12 |
| Fix Version/s: | 10.0.2, 5.5.30, 5.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | optimizer | ||
| Issue Links: |
|
||||
| Description |
|
The following test case does not return any rows when it's executed with join_cache_level > 2. The expected result is 1 row. Test case:
Expected result (actual result is empty):
EXPLAIN:
1 |
| Comments |
| Comment by Elena Stepanova [ 2013-02-16 ] |
|
I've set priority to Minor because join_cache_level>2 is not a default value. Please feel free to adjust if needed. |
| Comment by Igor Babaev [ 2013-02-25 ] |
|
This is a serious issue with materialized semi-join. |
| Comment by Igor Babaev [ 2013-02-25 ] |
|
A fix for the bug was sent for a review to Sergey Petrunia on 2013-02-24. |
| Comment by Igor Babaev [ 2013-03-01 ] |
|
The patch for this bug was pushed into the 5.3 tree on 2013-02-24 (rev 3628). |