MySQL 8.4.3
Source Code Documentation
locked_tables_list.h File Reference
#include <sys/types.h>
#include <vector>
#include "my_alloc.h"
#include "sql/psi_memory_key.h"
#include "sql/sql_const.h"

Go to the source code of this file.

Classes

class  Locked_tables_list
 Tables that were locked with LOCK TABLES statement. More...
 
struct  Locked_tables_list::MDL_ticket_pair
 

Enumerations

enum  enum_locked_tables_mode { LTM_NONE = 0 , LTM_LOCK_TABLES , LTM_PRELOCKED , LTM_PRELOCKED_UNDER_LOCK_TABLES }
 Type of locked tables mode. More...
 

Functions

const char * get_locked_tables_mode_name (enum_locked_tables_mode locked_tables_mode)
 Getter for the enum enum_locked_tables_mode. More...
 

Enumeration Type Documentation

◆ enum_locked_tables_mode

Type of locked tables mode.

See comment for THD::locked_tables_mode for complete description. While adding new enum values add them to the getter method for this enum declared below and defined in binlog.cc as well.

Enumerator
LTM_NONE 
LTM_LOCK_TABLES 
LTM_PRELOCKED 
LTM_PRELOCKED_UNDER_LOCK_TABLES