ClickHouse/src/Common/checkStackSize.h

8 lines
242 B
C++
Raw Normal View History

2019-08-10 17:51:47 +00:00
#pragma once
/** If the stack is large enough and is near its size, throw an exception.
* You can call this function in "heavy" functions that may be called recursively
* to prevent possible stack overflows.
*/
void checkStackSize();