MySQL 8.0.41
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lock0iter.cc File Reference

Lock queue iterator. More...

#include "lock0iter.h"
#include "dict0dd.h"
#include "lock0lock.h"
#include "lock0priv.h"
#include "univ.i"

Namespaces

namespace  locksys
 

Macros

#define LOCK_MODULE_IMPLEMENTATION
 

Functions

const lock_tlocksys::find_blockers (const lock_t &wait_lock, std::function< bool(const lock_t &)> visitor)
 Calls visitor for each lock_t object which is a reason that wait_lock has to wait. More...
 
void locksys::find_on_table (const table_id_t table_id, std::function< bool(const lock_t &)> visitor)
 A helper method to access dict_table_t::locks list in a way which is safe against the case another thread is trying to drop or truncate the table. More...
 

Detailed Description

Lock queue iterator.

Can iterate over table and record lock queues.

Created July 16, 2007 Vasil Dimov

Macro Definition Documentation

◆ LOCK_MODULE_IMPLEMENTATION

#define LOCK_MODULE_IMPLEMENTATION