Commit b728c3db authored by Marko Mäkelä's avatar Marko Mäkelä

fixup dd6ad380: remove dead code

parent bc04ded2
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment