[MDEV-14346] incorrect result of intersect with ANY/ALL/IN subquery Created: 2017-11-10 Updated: 2017-11-13 Resolved: 2017-11-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer, Optimizer - CTE |
| Affects Version/s: | 10.3.2 |
| Fix Version/s: | 10.3.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Oleksandr Byelkin | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Following should return empty set
test suite
|
| Comments |
| Comment by Oleksandr Byelkin [ 2017-11-10 ] | ||||||||||||||
|
| ||||||||||||||
| Comment by Oleksandr Byelkin [ 2017-11-10 ] | ||||||||||||||
|
Problem is lack of initialization of state of select_unit before second and so on restart | ||||||||||||||
| Comment by Oleksandr Byelkin [ 2017-11-10 ] | ||||||||||||||
|
github tree is bb-10.2c- revision-id: a25aa2e47c2d65d733ae622c215ba5e99ba29468 (mariadb-10.2.2-706-ga25aa2e47c2)
Reinit internal state of select_unit before using to correctly run it after first time. — |