mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
restored run-time thread lib detection
sql/stacktrace.c: removed code duplication sql/stacktrace.h: removed code duplication
This commit is contained in:
@ -27,11 +27,9 @@ extern char* heap_start;
|
||||
|
||||
#define init_stacktrace() do { \
|
||||
heap_start = (char*) &__bss_start; \
|
||||
check_thread_lib(); \
|
||||
} while(0);
|
||||
void print_stacktrace(gptr stack_bottom, ulong thread_stack);
|
||||
void safe_print_str(const char* name, const char* val, int max_len);
|
||||
void check_thread_lib(void);
|
||||
#endif /* (defined (__i386__) || (defined(__alpha__) && defined(__GNUC__))) */
|
||||
#endif /* TARGET_OS_LINUX */
|
||||
|
||||
|
Reference in New Issue
Block a user