MySQL 9.1.0
Source Code Documentation
ha_myisammrg.cc File Reference
#include "storage/myisammrg/ha_myisammrg.h"
#include "my_config.h"
#include <mysql/plugin.h>
#include <algorithm>
#include <memory>
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_pointer_arithmetic.h"
#include "my_psi_config.h"
#include "mysql/strings/m_ctype.h"
#include "nulls.h"
#include "sql/current_thd.h"
#include "sql/debug_sync.h"
#include "sql/mysqld.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"
#include "sql/sql_show.h"
#include "sql/sql_table.h"
#include "sql/thr_malloc.h"
#include "storage/myisam/ha_myisam.h"
#include "storage/myisam/myisamdef.h"
#include "storage/myisammrg/myrg_def.h"
#include "string_with_len.h"
#include "strmake.h"
#include "strxnmov.h"
#include "typelib.h"

Classes

class  Mrg_attach_children_callback_param
 A context of myrg_attach_children() callback. More...
 

Namespaces

namespace  anonymous_namespace{ha_myisammrg.cc}
 

Macros

#define MYSQL_SERVER   1
 

Functions

static handlermyisammrg_create_handler (handlerton *hton, TABLE_SHARE *table, bool, MEM_ROOT *mem_root)
 
static void split_file_name (const char *file_name, LEX_CSTRING *db, LEX_CSTRING *name)
 
void myrg_print_wrong_table (const char *table_name)
 
int anonymous_namespace{ha_myisammrg.cc}::myisammrg_parent_open_callback (void *callback_param, const char *filename)
 Callback function for open of a MERGE parent table. More...
 
MI_INFOanonymous_namespace{ha_myisammrg.cc}::myisammrg_attach_children_callback (void *callback_param)
 Callback function for attaching a MERGE child table. More...
 
static int myisammrg_panic (handlerton *, ha_panic_function flag)
 
static int myisammrg_init (void *p)
 
 mysql_declare_plugin (myisammrg)
 

Variables

static const char * ha_myisammrg_exts [] = {".MRG", NullS}
 
struct st_mysql_storage_engine myisammrg_storage_engine
 
 mysql_declare_plugin_end
 

Macro Definition Documentation

◆ MYSQL_SERVER

#define MYSQL_SERVER   1

Function Documentation

◆ myisammrg_create_handler()

static handler * myisammrg_create_handler ( handlerton hton,
TABLE_SHARE table,
bool  ,
MEM_ROOT mem_root 
)
static

◆ myisammrg_init()

static int myisammrg_init ( void *  p)
static

◆ myisammrg_panic()

static int myisammrg_panic ( handlerton ,
ha_panic_function  flag 
)
static

◆ myrg_print_wrong_table()

void myrg_print_wrong_table ( const char *  table_name)

◆ mysql_declare_plugin()

mysql_declare_plugin ( myisammrg  )

◆ split_file_name()

static void split_file_name ( const char *  file_name,
LEX_CSTRING db,
LEX_CSTRING name 
)
static

Variable Documentation

◆ ha_myisammrg_exts

const char* ha_myisammrg_exts[] = {".MRG", NullS}
static

◆ myisammrg_storage_engine

struct st_mysql_storage_engine myisammrg_storage_engine
Initial value:
= {
#define MYSQL_HANDLERTON_INTERFACE_VERSION
Definition: plugin.h:704

◆ mysql_declare_plugin_end

mysql_declare_plugin_end