diff options
-rw-r--r-- | mysys/thr_lock.c | 2 |
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"); |