mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Many files:
Put back old code to check stack direction at configure time
This commit is contained in:
@ -5042,7 +5042,11 @@ bool check_merge_table_access(THD *thd, char *db,
|
||||
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
|
||||
#define used_stack(A,B) (long)(A > B ? A - B : B - A)
|
||||
#if STACK_DIRECTION < 0
|
||||
#define used_stack(A,B) (long) (A - B)
|
||||
#else
|
||||
#define used_stack(A,B) (long) (B - A)
|
||||
#endif
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
long max_stack_used;
|
||||
|
Reference in New Issue
Block a user