| 3682 | so checking *every* recursive call is not necessary. |
| 3683 | */ |
| 3684 | extern "C" int |
| 3685 | check_enough_stack_size(int recurse_level) |
| 3686 | { |
| 3687 | uchar stack_top; |
| 3688 | if (recurse_level % 16 != 0) |
| 3689 | return 0; |
| 3690 | |
| 3691 | THD *my_thd= current_thd; |
| 3692 | if (my_thd != NULL) |
| 3693 | return check_stack_overrun(my_thd, STACK_MIN_SIZE * 2, &stack_top); |
| 3694 | return 0; |
| 3695 | } |
| 3696 | #endif |
| 3697 | |
| 3698 |
nothing calls this directly
no outgoing calls
no test coverage detected