diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2016-04-05 19:10:44 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2016-04-05 19:10:44 +0300 |
commit | 9bd194b1b701bdbe6bb9202463df43511de14525 (patch) | |
tree | 71d29ea731931d7f697d17e3de64e762d848c00e /sql/sql_select.h | |
parent | e30bd913aea50ae405483bedd6ca47c1a93fd6a9 (diff) | |
download | mariadb-git-9bd194b1b701bdbe6bb9202463df43511de14525.tar.gz |
MDEV-9848: Window functions: reuse sorting and/or scanning
- Rename Window_funcs_computation to Window_funcs_computation_step
- Introduce Window_func_sort which invokes filesort and then
invokes computation of all window functions that use this ordering.
- Expose Window functions' sort operations in EXPLAIN|ANALYZE FORMAT=JSON
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index 1718a4676f1..aa967a9ab6b 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -428,7 +428,7 @@ typedef struct st_join_table { Non-NULL value means this join_tab must do window function computation before reading. */ - Window_funcs_computation* window_funcs_step; + Window_funcs_computation_step* window_funcs_step; /** List of topmost expressions in the select list. The *next* JOIN TAB |