summaryrefslogtreecommitdiff
path: root/mysys/safemalloc.c
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2002-04-08 18:20:24 -0600
committersasha@mysql.sashanet.com <>2002-04-08 18:20:24 -0600
commitd1962011073cf86956264283f6b2ef6d22fc9aaa (patch)
treea29549e01f5f40479b43c1a0dc2f11c3c89c8f71 /mysys/safemalloc.c
parent2472736698459c7bfb71763ed8b5e17b9799e06a (diff)
downloadmariadb-git-d1962011073cf86956264283f6b2ef6d22fc9aaa.tar.gz
fixed bug in truncating temp tables
fixed compilation problem on FreeBSD added test for truncating temporary tables
Diffstat (limited to 'mysys/safemalloc.c')
-rw-r--r--mysys/safemalloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c
index 0c169f2f0cc..074afe27500 100644
--- a/mysys/safemalloc.c
+++ b/mysys/safemalloc.c
@@ -73,7 +73,10 @@
#include "mysys_err.h"
ulonglong safemalloc_mem_limit = ~(ulonglong)0;
+
+#ifdef THREAD
pthread_t shutdown_th,main_th,signal_th;
+#endif
#define pNext tInt._pNext
#define pPrev tInt._pPrev