From 0cd5cce7a8baf57f0b912c38a5fdb798c88080e0 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Tue, 27 Dec 2011 20:54:29 +0100 Subject: [PATCH] Fix compile error --- mysys/thr_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");