summaryrefslogtreecommitdiff
path: root/mysys/my_thr_init.c
diff options
context:
space:
mode:
authorunknown <monty@mysql.com/narttu.mysql.fi>2007-12-10 03:37:29 +0200
committerunknown <monty@mysql.com/narttu.mysql.fi>2007-12-10 03:37:29 +0200
commitabe1031ea86eab1378f46351ae516fc3952e919e (patch)
treed8e7797d4887c12f02455d3991d96e65b10778d5 /mysys/my_thr_init.c
parent8373b4deac0d60f31a46162b6ef21bfd3ba007c9 (diff)
downloadmariadb-git-abe1031ea86eab1378f46351ae516fc3952e919e.tar.gz
Fixed some compiler errors
mysys/my_thr_init.c: Added missing DBUG_OFF storage/maria/ma_loghandler.c: Fixed wrong macro
Diffstat (limited to 'mysys/my_thr_init.c')
-rw-r--r--mysys/my_thr_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysys/my_thr_init.c b/mysys/my_thr_init.c
index da61d32d35c..bdf998f4c10 100644
--- a/mysys/my_thr_init.c
+++ b/mysys/my_thr_init.c
@@ -385,6 +385,8 @@ struct st_my_thread_var *_my_thread_var(void)
return tmp;
}
+#ifndef DBUG_OFF
+
extern void *my_thread_var_get_dbug(my_bool *error)
{
struct st_my_thread_var *tmp=
@@ -406,7 +408,7 @@ extern void my_thread_var_set_dbug(void *dbug)
struct st_my_thread_var *tmp= _my_thread_var();
tmp->dbug= dbug;
}
-
+#endif
/****************************************************************************
Get name of current thread.