diff options
author | sasha@mysql.sashanet.com <> | 2002-03-26 22:19:23 -0700 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2002-03-26 22:19:23 -0700 |
commit | f28f8d086d3f5e1ede685b86ce64da5641437bcf (patch) | |
tree | ab4d73690dcb8e3ef54e70015f1838cf17a2577a /include | |
parent | 2e6b48afd31008809439900db2d577ea0ff9d90f (diff) | |
download | mariadb-git-f28f8d086d3f5e1ede685b86ce64da5641437bcf.tar.gz |
coverted my_thread_init() /end to use my_malloc()/my_free() to help track
down replication corruption
Diffstat (limited to 'include')
-rw-r--r-- | include/my_sys.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 4aee27e2939..3950bfce758 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -137,6 +137,10 @@ extern int NEAR my_errno; /* Last error in mysys */ #define NORMAL_SAFEMALLOC sf_malloc_quick=0 extern uint sf_malloc_prehunc,sf_malloc_endhunc,sf_malloc_quick; extern ulonglong safemalloc_mem_limit; +/* keep track of shutdown,signal, and main threads so that my_end() will not + report errors with them +*/ +extern pthread_t shutdown_th, main_th,signal_th; #define CALLER_INFO_PROTO , const char *sFile, uint uLine #define CALLER_INFO , __FILE__, __LINE__ #define ORIG_CALLER_INFO , sFile, uLine |