Skip to content

Commit

Permalink
fixup dd6ad38: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Apr 22, 2021
1 parent bc04ded commit b728c3d
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions sql/item_subselect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<TABLE_LIST>& join_list)
{
List_iterator<TABLE_LIST> 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)
{
Expand Down

0 comments on commit b728c3d

Please sign in to comment.