summaryrefslogtreecommitdiff
path: root/mysys/my_static.h
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2002-03-26 22:19:23 -0700
committersasha@mysql.sashanet.com <>2002-03-26 22:19:23 -0700
commitf28f8d086d3f5e1ede685b86ce64da5641437bcf (patch)
treeab4d73690dcb8e3ef54e70015f1838cf17a2577a /mysys/my_static.h
parent2e6b48afd31008809439900db2d577ea0ff9d90f (diff)
downloadmariadb-git-f28f8d086d3f5e1ede685b86ce64da5641437bcf.tar.gz
coverted my_thread_init() /end to use my_malloc()/my_free() to help track
down replication corruption
Diffstat (limited to 'mysys/my_static.h')
-rw-r--r--mysys/my_static.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysys/my_static.h b/mysys/my_static.h
index 4f944938b8d..ca384009063 100644
--- a/mysys/my_static.h
+++ b/mysys/my_static.h
@@ -38,6 +38,7 @@ struct irem {
my_string _sFileName; /* File in which memory was new'ed */
uint _uLineNum; /* Line number in above file */
uint _uDataSize; /* Size requested */
+ pthread_t thread_id;
long _lSpecialValue; /* Underrun marker value */
};
@@ -56,6 +57,11 @@ extern const char *soundex_map;
extern USED_MEM* my_once_root_block;
extern uint my_once_extra;
+/* these threads are exept from safemalloc leak scrutiny unless
+ PEDANTIC_SAFEMALLOC is defined
+*/
+extern pthread_t signal_thread,kill_thread;
+
#ifndef HAVE_TEMPNAM
extern int _my_tempnam_used;
#endif