MySQL 9.1.0
Source Code Documentation
partition_handler.cc File Reference
#include "sql/partitioning/partition_handler.h"
#include <fcntl.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <new>
#include <utility>
#include "lex_string.h"
#include "map_helpers.h"
#include "my_bitmap.h"
#include "my_byteorder.h"
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_macros.h"
#include "my_psi_config.h"
#include "my_sqlcommand.h"
#include "myisam.h"
#include "mysql/components/services/bits/mysql_mutex_bits.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/components/services/bits/psi_memory_bits.h"
#include "mysql/components/services/bits/psi_mutex_bits.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/my_loglevel.h"
#include "mysql/plugin.h"
#include "mysql/psi/mysql_memory.h"
#include "mysql/service_mysql_alloc.h"
#include "mysql/strings/m_ctype.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "nulls.h"
#include "sql/derror.h"
#include "sql/discrete_interval.h"
#include "sql/field.h"
#include "sql/key.h"
#include "sql/log.h"
#include "sql/partition_element.h"
#include "sql/partition_info.h"
#include "sql/protocol.h"
#include "sql/protocol_classic.h"
#include "sql/set_var.h"
#include "sql/sql_alter.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_lex.h"
#include "sql/sql_list.h"
#include "sql/sql_partition.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/thr_malloc.h"
#include "sql_string.h"
#include "string_with_len.h"
#include "strxmov.h"
#include "template_utils.h"
#include "thr_mutex.h"

Namespaces

namespace  dd
 The version of the current data dictionary table definitions.
 

Functions

int thd_binlog_format (const MYSQL_THD thd)
 
void partitioning_init ()
 Initialize partitioning (currently only PSI keys). More...
 

Variables

static const char * opt_op_name []
 operation names for the enum_part_operation. More...
 
static PSI_memory_key key_memory_Partition_share
 
static PSI_memory_key key_memory_partition_sort_buffer
 
static PSI_memory_key key_memory_Partition_admin
 
PSI_mutex_key key_partition_auto_inc_mutex
 
static PSI_memory_info all_partitioning_memory []
 
static PSI_mutex_info all_partitioning_mutex []
 

Function Documentation

◆ partitioning_init()

void partitioning_init ( )

Initialize partitioning (currently only PSI keys).

◆ thd_binlog_format()

int thd_binlog_format ( const MYSQL_THD  thd)

Variable Documentation

◆ all_partitioning_memory

PSI_memory_info all_partitioning_memory[]
static
Initial value:
= {
{&key_memory_Partition_share, "Partition::share", 0, 0,
"Partition name and auto increment mutex."},
{&key_memory_partition_sort_buffer, "Partition::sort_buffer", 0, 0,
"Record buffer for a partition."},
{&key_memory_Partition_admin, "Partition::admin", 0, 0,
"Buffer for printing messages into the client protocol."}}
static PSI_memory_key key_memory_Partition_admin
Definition: partition_handler.cc:97
static PSI_memory_key key_memory_Partition_share
Definition: partition_handler.cc:95
static PSI_memory_key key_memory_partition_sort_buffer
Definition: partition_handler.cc:96

◆ all_partitioning_mutex

PSI_mutex_info all_partitioning_mutex[]
static
Initial value:
= {
{&key_partition_auto_inc_mutex, "Partition_share::auto_inc_mutex", 0, 0,
#define PSI_DOCUMENT_ME
Definition: component_common.h:29
PSI_mutex_key key_partition_auto_inc_mutex
Definition: partition_handler.cc:99

◆ key_memory_Partition_admin

PSI_memory_key key_memory_Partition_admin
static

◆ key_memory_Partition_share

PSI_memory_key key_memory_Partition_share
static

◆ key_memory_partition_sort_buffer

PSI_memory_key key_memory_partition_sort_buffer
static

◆ key_partition_auto_inc_mutex

PSI_mutex_key key_partition_auto_inc_mutex

◆ opt_op_name

const char* opt_op_name[]
static
Initial value:
= {
"optimize", "analyze", "check", "repair",
"assign_to_keycache", "preload_keys"}

operation names for the enum_part_operation.