summaryrefslogtreecommitdiff
path: root/mysys/my_thr_init.c
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-06-16 17:06:12 +0300
committerunknown <monty@mashka.mysql.fi>2002-06-16 17:06:12 +0300
commit8a8e4be22f0806e2a606659de7b6c9069f4ef2e4 (patch)
tree5f06cb07df859c884eed35668ba450e5060ab52a /mysys/my_thr_init.c
parentc554eeec98958fd77dfedf18fc7c5cfd58cf046b (diff)
downloadmariadb-git-8a8e4be22f0806e2a606659de7b6c9069f4ef2e4.tar.gz
Cleanup of checking of user resources
Added missing checking of no_keyread Docs/manual.texi: Fixed wrong example myisam/myisamchk.c: Removed not needed include file mysys/my_pthread.c: Fix for HPUX mysys/my_thr_init.c: Removed not needed warning scripts/mysql_fix_privilege_tables.sh: Cleanup sql/sql_lex.cc: Removed not needed initialization sql/sql_parse.cc: Cleanup of checking of user resources sql/sql_select.cc: Added checking of no_keyread
Diffstat (limited to 'mysys/my_thr_init.c')
-rw-r--r--mysys/my_thr_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_thr_init.c b/mysys/my_thr_init.c
index 2bd02ad957f..9f91f7a392d 100644
--- a/mysys/my_thr_init.c
+++ b/mysys/my_thr_init.c
@@ -123,7 +123,7 @@ my_bool my_thread_init(void)
#if !defined(__WIN__) || defined(USE_TLS)
if (my_pthread_getspecific(struct st_my_thread_var *,THR_KEY_mysys))
{
-#ifdef EXTRA_DEBUG
+#ifdef EXTRA_DEBUG_THREADS
fprintf(stderr,"my_thread_init() called more than once in thread %ld\n",
pthread_self());
#endif