summaryrefslogtreecommitdiff
path: root/mysys/thr_lock.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-12-27 20:54:29 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-12-27 20:54:29 +0100
commit0cd5cce7a8baf57f0b912c38a5fdb798c88080e0 (patch)
treed0688c666c0c22f25fa394784ecc0951f457efc7 /mysys/thr_lock.c
parentf4486c37b35c3ec4dd7008629cede508b2f00293 (diff)
downloadmariadb-git-0cd5cce7a8baf57f0b912c38a5fdb798c88080e0.tar.gz
Fix compile error
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r--mysys/thr_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c
index fdcdd29fc1a..61f18d9dddf 100644
--- a/mysys/thr_lock.c
+++ b/mysys/thr_lock.c
@@ -1386,7 +1386,7 @@ void thr_downgrade_write_lock(THR_LOCK_DATA *in_data,
enum thr_lock_type new_lock_type)
{
THR_LOCK *lock=in_data->lock;
-#ifdef EXTRA_DEBUG
+#ifndef DBUG_OFF
enum thr_lock_type old_lock_type= in_data->type;
#endif
DBUG_ENTER("thr_downgrade_write_only_lock");