From 0ad598a00b17008b0c0702db40948b14d7eee0d5 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Thu, 28 Feb 2019 18:13:28 +0400 Subject: A cleanup in derived table handling: removing duplicate code from st_select_lex::handle_derived() st_select_lex::handle_derived() and mysql_handle_list_of_derived() had exactly the same implementations. - Adding a new method LEX::handle_list_of_derived() instead - Removing public function mysql_handle_list_of_derived() - Reusing LEX::handle_list_of_derived() in st_select_lex::handle_derived() --- sql/sql_derived.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sql/sql_derived.h') diff --git a/sql/sql_derived.h b/sql/sql_derived.h index f232445879e..29b898fc65a 100644 --- a/sql/sql_derived.h +++ b/sql/sql_derived.h @@ -22,7 +22,6 @@ struct LEX; bool mysql_handle_derived(LEX *lex, uint phases); bool mysql_handle_single_derived(LEX *lex, TABLE_LIST *derived, uint phases); -bool mysql_handle_list_of_derived(LEX *lex, TABLE_LIST *dt_list, uint phases); /** Cleans up the SELECT_LEX_UNIT for the derived table (if any). -- cgit v1.2.1