diff options
author | unknown <sasha@mysql.sashanet.com> | 2002-04-08 18:20:24 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2002-04-08 18:20:24 -0600 |
commit | fc79f8e68ac81dfa0841c3a5899d4bed905f35c5 (patch) | |
tree | a29549e01f5f40479b43c1a0dc2f11c3c89c8f71 /mysys/safemalloc.c | |
parent | d85cacfa63eeaeebb4e23c9c85c8fcd2de3712cb (diff) | |
download | mariadb-git-fc79f8e68ac81dfa0841c3a5899d4bed905f35c5.tar.gz |
fixed bug in truncating temp tables
fixed compilation problem on FreeBSD
added test for truncating temporary tables
mysql-test/r/truncate.result:
truncate test
mysql-test/t/truncate.test:
truncate test update
mysys/safemalloc.c:
fixed FreeBSD compilation problem
sql/sql_delete.cc:
fixed bug in truncating temporary tables
Diffstat (limited to 'mysys/safemalloc.c')
-rw-r--r-- | mysys/safemalloc.c | 3 |
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 |