[MDEV-16185] group by push down: HAVING optimized out causes crash Created: 2018-05-16 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.3.5 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hall (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 6.9 |
||
| Description |
|
Using an engine that defines the new group by push down API;
mysqld crashes at sql_select.cc:2431 bzero(curr_tab, sizeof(JOIN_TAB)); At this point curr_tab is NULL. I don't know if it should be NULL (probably should), but we shouldn't be bzero-ing a NULL pointer. |