diff options
Diffstat (limited to 'sql/mdl.h')
-rw-r--r-- | sql/mdl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/mdl.h b/sql/mdl.h index d50de7d14c3..af7d75c1297 100644 --- a/sql/mdl.h +++ b/sql/mdl.h @@ -860,4 +860,10 @@ extern mysql_mutex_t LOCK_open; extern ulong mdl_locks_cache_size; static const ulong MDL_LOCKS_CACHE_SIZE_DEFAULT = 1024; +/* + Metadata locking subsystem tries not to grant more than + max_write_lock_count high-prio, strong locks successively, + to avoid starving out weak, low-prio locks. +*/ +extern "C" ulong max_write_lock_count; #endif |