26 int myrg_panic(
enum ha_panic_function flag)
29 LIST *list_element,*next_open;
31 DBUG_ENTER(
"myrg_panic");
33 for (list_element=myrg_open_list ; list_element ; list_element=next_open)
35 next_open=list_element->next;
37 if (flag == HA_PANIC_CLOSE && myrg_close(info))
40 if (myrg_open_list && flag != HA_PANIC_CLOSE)
41 DBUG_RETURN(mi_panic(flag));