[MDEV-31143] Crash for query using ROWNUM() over view with ORDER BY Created: 2023-04-27 Updated: 2023-05-02 Resolved: 2023-05-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Views |
| Affects Version/s: | 10.6, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.11.3, 11.0.2, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Alice Sherepa | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||
| Description |
|
regression after 5bada1246de48ef4a18fa30388f, repeatable after
|
| Comments |
| Comment by Oleksandr Byelkin [ 2023-04-28 ] | ||||||||||||||||||||||||||||||||
|
It is temporary table of derived table (made from sys.schema_index_statistics?) has myisam handler but have no file reference (as vell as many other uninitialized fields) | ||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2023-04-28 ] | ||||||||||||||||||||||||||||||||
|
Fix applied to | ||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2023-04-28 ] | ||||||||||||||||||||||||||||||||
|
actually information schema AFAIK always shoud be matherialyzed derved | ||||||||||||||||||||||||||||||||
| Comment by Igor Babaev [ 2023-04-30 ] | ||||||||||||||||||||||||||||||||
|
The following test case causes a crash of the same kind as reported one.
| ||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2023-04-30 ] | ||||||||||||||||||||||||||||||||
|
ok to push | ||||||||||||||||||||||||||||||||
| Comment by Igor Babaev [ 2023-05-01 ] | ||||||||||||||||||||||||||||||||
|
A fix for this bug was pushed into 10.6. It should be merged upstream as it is. |