From b728c3dbd9273299b676b5d0d793464e7b20f08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Thu, 22 Apr 2021 08:42:55 +0300 Subject: [PATCH] fixup dd6ad3806856221f1af302e61ebd985905a00060: remove dead code --- sql/item_subselect.cc | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index e6c86ea0303c5..bdf510e7fa550 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -758,34 +758,6 @@ bool Item_subselect::unknown_splocal_processor(void *argument) } -static -int walk_table_functions_for_list(Item_processor processor, - bool walk_subquery, void *argument, - List& join_list) -{ - List_iterator li(join_list); - int res; - while (TABLE_LIST *table= li++) - { - if (Table_function_json_table *tf= table->table_function) - { - if ((res= tf->walk_items(processor, walk_subquery, argument))) - { - return res; - } - } - if (table->nested_join) - { - if ((res= walk_table_functions_for_list(processor, walk_subquery, - argument, - table->nested_join->join_list))) - return res; - } - } - return 0; -} - - bool Item_subselect::walk(Item_processor processor, bool walk_subquery, void *argument) {