From c95270b8c4b320c1080acc03da99e2a33c80440b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 2 Apr 2002 17:54:57 +0300 Subject: Cleanups Don't use DBUG library for struct st_my_thread_var to make code less complicated. Docs/manual.texi: Cleanup acinclude.m4: Search after openssl in /usr/local client/mysql.cc: Fix prompt client/mysqladmin.c: Cleanup client/mysqltest.c: Cleanup include/my_pthread.h: Move thread variables to the right location include/my_sys.h: Move thread variables to the right location include/mysql.h: Clean up client prototypes libmysql/libmysql.c: Clean up client prototypes mysys/my_static.h: Cleanup mysys/my_thr_init.c: Don't use DBUG library for struct st_my_thread_var to make code less complicated sql/item_cmpfunc.cc: Small optimization sql/net_pkg.cc: Cleanup sql/sql_parse.cc: Allow VARCHAR(0) --- include/my_pthread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/my_pthread.h') diff --git a/include/my_pthread.h b/include/my_pthread.h index 4ca42339897..cfc1ea326f4 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -602,6 +602,11 @@ struct st_my_thread_var extern struct st_my_thread_var *_my_thread_var(void) __attribute__ ((const)); #define my_thread_var (_my_thread_var()) #define my_errno my_thread_var->thr_errno +/* + 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; /* statistics_xxx functions are for not essential statistic */ -- cgit v1.2.1