[MDEV-23804] Server crashes in st_select_lex::collect_grouping_fields_for_derived Created: 2020-09-24 Updated: 2023-10-05 Resolved: 2021-01-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.4, 10.5 |
| Fix Version/s: | 10.4.18, 10.5.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alice Sherepa | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||
| Description |
|
Both debug and non-debug versions are affected.
|
| Comments |
| Comment by Varun Gupta (Inactive) [ 2020-10-27 ] | ||||||
|
Another test case:
| ||||||
| Comment by Varun Gupta (Inactive) [ 2020-10-27 ] | ||||||
|
Patch | ||||||
| Comment by Igor Babaev [ 2020-12-29 ] | ||||||
|
The problem appeared after the loss of the lines
after the commit
I don't think it was an intentional loss. | ||||||
| Comment by Michael Widenius [ 2021-01-11 ] | ||||||
|
I agree with Igor. Push the test case to 10.3 and the fix to 10.4. A small suggestion for the patch: + if (!sl->cond_pushdown_is_allowed()) Move the if() after "Item *extracted_cond_copy"
|