[MDEV-7791] Incorrect handling of conditions with subquery materialization Created: 2015-03-17 Updated: 2017-05-17 Resolved: 2017-05-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 5.3.12, 5.5, 10.0, 10.1 |
| Fix Version/s: | 5.5.57 |
| Type: | Bug | Priority: | Major |
| Reporter: | Markus Behm | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | verified | ||
| Sprint: | 10.0.24 |
| Description |
|
Description: The following queries should both obviously result in zero rows as RAND can never return less than zero, yet with materialization all rows are returned.
How to repeat:
|
| Comments |
| Comment by Elena Stepanova [ 2015-03-17 ] |
|
Thanks for the report and the test case. |
| Comment by Oleksandr Byelkin [ 2017-05-16 ] |
|
OK to push after fixing issue with spaces at the end of lines. |
| Comment by Igor Babaev [ 2017-05-17 ] |
|
The fix for this bug was pushed into the 5.5 tree. |