diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-12 22:14:59 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-05-12 22:14:59 +0300 |
commit | 15419a558370aeed9521b498c34d50f20a8d47a5 (patch) | |
tree | cd15d32e9b61f297d8fafb048df85d9148951eb2 /sql/sql_window.cc | |
parent | 5e84ea9634ac491f3da84f6c15987d4c1b1a5a3a (diff) | |
parent | 77867c147b8a278977203ad33d7daff0587a112a (diff) | |
download | mariadb-git-15419a558370aeed9521b498c34d50f20a8d47a5.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'sql/sql_window.cc')
-rw-r--r-- | sql/sql_window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_window.cc b/sql/sql_window.cc index 025a56ae239..38fdd8ab80b 100644 --- a/sql/sql_window.cc +++ b/sql/sql_window.cc @@ -2931,7 +2931,7 @@ bool Window_func_runner::exec(THD *thd, TABLE *tbl, SORT_INFO *filesort_result) bool Window_funcs_sort::exec(JOIN *join) { THD *thd= join->thd; - JOIN_TAB *join_tab= join->join_tab + join->exec_join_tab_cnt(); + JOIN_TAB *join_tab= join->join_tab + join->total_join_tab_cnt(); /* Sort the table based on the most specific sorting criteria of the window functions. */ |