309
309
bool Item_sum::register_sum_func(Session *session, Item **ref)
312
312
nesting_map allow_sum_func= session->lex->allow_sum_func;
313
313
for (sl= session->lex->current_select->master_unit()->outer_select() ;
314
314
sl && sl->nest_level > max_arg_level;