Fix compile error
This commit is contained in:
parent
f4486c37b3
commit
0cd5cce7a8
@ -1386,7 +1386,7 @@ void thr_downgrade_write_lock(THR_LOCK_DATA *in_data,
|
|||||||
enum thr_lock_type new_lock_type)
|
enum thr_lock_type new_lock_type)
|
||||||
{
|
{
|
||||||
THR_LOCK *lock=in_data->lock;
|
THR_LOCK *lock=in_data->lock;
|
||||||
#ifdef EXTRA_DEBUG
|
#ifndef DBUG_OFF
|
||||||
enum thr_lock_type old_lock_type= in_data->type;
|
enum thr_lock_type old_lock_type= in_data->type;
|
||||||
#endif
|
#endif
|
||||||
DBUG_ENTER("thr_downgrade_write_only_lock");
|
DBUG_ENTER("thr_downgrade_write_only_lock");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user