1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Remove JOIN_TAB::used_window_func, it is not used anymore

This commit is contained in:
Sergei Petrunia
2016-03-28 00:55:57 +03:00
parent 75965892e3
commit 24cd633fd8
2 changed files with 1 additions and 3 deletions

View File

@@ -19137,7 +19137,7 @@ int join_init_read_record(JOIN_TAB *tab)
if (tab->distinct && tab->remove_duplicates()) // Remove duplicates.
return 1;
if (tab->filesort && !tab->used_for_window_func && tab->sort_table()) // Sort table.
if (tab->filesort && tab->sort_table()) // Sort table.
return 1;
if (tab->select && tab->select->quick && (error= tab->select->quick->reset()))

View File

@@ -430,8 +430,6 @@ typedef struct st_join_table {
*/
Window_funcs_computation* window_funcs;
bool used_for_window_func;
/**
List of topmost expressions in the select list. The *next* JOIN TAB
in the plan should use it to obtain correct values. Same applicable to