1
0
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:
kent@mysql.com/kent-amd64.(none)
2007-07-23 23:54:55 +02:00
parent 8b5f22a0c3
commit 0886cc3bed
6 changed files with 39 additions and 1 deletions

View File

@ -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;