summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-10-16 20:55:15 +0300
committerunknown <monty@mashka.mysql.fi>2003-10-16 20:55:15 +0300
commit4f936a69a798483b318fad4124641256eb0ce380 (patch)
tree15abb95c73d02f77be5ffd9d90398f905401d815 /include/my_pthread.h
parent8ddb4b7c553508fbf48fb3026909a35bac98d32e (diff)
downloadmariadb-git-4f936a69a798483b318fad4124641256eb0ce380.tar.gz
Safety fix to detect multiple calls to my_thread_end()
Portability fix (For Mac OS X) configure.in: Added detection of malloc / sys/malloc include/my_pthread.h: Safety fix to detect multiple calls to my_thread_end() libmysqld/lib_sql.cc: Remove duplicate call to my_thread_end() mysys/charset.c: Cleanup indentation Remove some short variable names mysys/my_thr_init.c: Safety fix to detect multiple calls to my_thread_end() sql/sql_test.cc: Portability fix (For Mac OS X)
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 4247b951d82..16a14ac5038 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -637,6 +637,7 @@ struct st_my_thread_var
long id;
int cmp_length;
int volatile abort;
+ my_bool init;
#ifndef DBUG_OFF
gptr dbug;
char name[THREAD_NAME_SIZE+1];