MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
void | init () |
void | destroy () |
MDL_lock * | find_or_insert (const MDL_key *key) |
void | remove (MDL_lock *lock) |
A collection of all MDL locks. A singleton, there is only one instance of the map in the server. Contains instances of MDL_map_partition
void MDL_map::destroy | ( | ) |
Find MDL_lock object corresponding to the key, create it if it does not exist.
non-NULL | - Success. MDL_lock instance for the key with locked MDL_lock::m_rwlock. |
NULL | - Failure (OOM). |
Definition at line 775 of file mdl.cc.
void MDL_map::init | ( | ) |
void MDL_map::remove | ( | MDL_lock * | lock | ) |