Fix compile error

This commit is contained in:
Vladislav Vaintroub 2011-12-27 20:54:29 +01:00
parent f4486c37b3
commit 0cd5cce7a8

View File

@ -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");