From cc59df65b2824763c1d7f6a579f229ff1a238096 Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Sun, 27 Mar 2016 12:15:11 +0300 Subject: [PATCH] Fix a typo --- sql/sql_window.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sql/sql_window.cc b/sql/sql_window.cc index 7b5769a8bf5..59c7f006893 100644 --- a/sql/sql_window.cc +++ b/sql/sql_window.cc @@ -1556,8 +1556,9 @@ bool Window_func_runner::exec(JOIN *join) first_run= false; } - if (create_sort_index(thd, join, &join->join_tab[join->top_join_tab_count], - filesort)); + if (create_sort_index(thd, join, &join->join_tab[join->top_join_tab_count], + filesort)) + return true; win_func->set_phase_to_computation();