404
404
nesting_map save_allow_sum_func=thd->lex->allow_sum_func ;
405
410
DBUG_ENTER("setup_without_group");
407
412
thd->lex->allow_sum_func&= ~(1 << thd->lex->current_select->nest_level);
408
413
res= setup_conds(thd, tables, leaves, conds);
410
420
thd->lex->allow_sum_func|= 1 << thd->lex->current_select->nest_level;
411
421
res= res || setup_order(thd, ref_pointer_array, tables, fields, all_fields,