[MDEV-9847] Window functions: crash with big_tables=1 Created: 2016-03-31 Updated: 2016-04-14 Resolved: 2016-04-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
One can use @@big_tables variable to force temp.tables to be on-disk (Aria or MyiSAM). However, window function crash with it:
The reason is that we pass wrong parameters to filesort(). filesort should produce a list of rowids for us, but it produces a list of {sort_field, addon_columns}instead. I know how to fix this. |
| Comments |
| Comment by Sergei Petrunia [ 2016-04-06 ] |
|
Fix pushed into the feature tree. |