summaryrefslogtreecommitdiff
path: root/sql/mdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/mdl.h')
-rw-r--r--sql/mdl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/mdl.h b/sql/mdl.h
index ca3d8d0a784..2b144e250b1 100644
--- a/sql/mdl.h
+++ b/sql/mdl.h
@@ -66,7 +66,7 @@ struct MDL_LOCK
point might be upgraded to an exclusive lock and therefore conflicts
with global shared lock, FALSE -- otherwise.
*/
- bool upgradable;
+ bool is_upgradable;
private:
/**
@@ -189,7 +189,7 @@ inline void mdl_set_lock_priority(MDL_LOCK *lock, enum_mdl_prio prio)
inline void mdl_set_upgradable(MDL_LOCK *lock)
{
DBUG_ASSERT(lock->type == MDL_SHARED && lock->state == MDL_PENDING);
- lock->upgradable= TRUE;
+ lock->is_upgradable= TRUE;
}
bool mdl_acquire_shared_lock(MDL_LOCK *l, bool *retry);