summaryrefslogtreecommitdiff
path: root/sql/sql_window.cc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2016-03-28 12:02:56 +0300
committerSergei Petrunia <psergey@askmonty.org>2016-03-28 12:02:56 +0300
commit44fdb56c977259b2801c612116813beda403df78 (patch)
treee4fb8f41f72bb5d9022648bedc4513c9d09bd5ec /sql/sql_window.cc
parent24cd633fd856d0ca7e4149b49cb7eb3b4c890601 (diff)
downloadmariadb-git-44fdb56c977259b2801c612116813beda403df78.tar.gz
MDEV-8646: Re-engineer the code for post-join operations
- Make EXPLAIN code use the post-join operations - Remove Sort_and_group_tracker that was used for that purpose
Diffstat (limited to 'sql/sql_window.cc')
-rw-r--r--sql/sql_window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_window.cc b/sql/sql_window.cc
index 6284fd2ffed..0352a0dfb5f 100644
--- a/sql/sql_window.cc
+++ b/sql/sql_window.cc
@@ -1484,6 +1484,7 @@ bool Window_func_runner::setup(THD *thd)
spec->partition_list->first,
spec->order_list->first);
filesort= new (thd->mem_root) Filesort(sort_order, HA_POS_ERROR, NULL);
+ filesort->tracker= new Filesort_tracker(thd->lex->analyze_stmt);
win_func->setup_partition_border_check(thd);