2714
2715
buff should match stack usage from
2715
2716
Item_func_case::val_int() -> Item_func_case::find_item()
2718
2720
bool res= Item_func::fix_fields(session, ref);
2720
2722
Call check_stack_overrun after fix_fields to be sure that stack variable