MySQL 8.0.39
Source Code Documentation
ha_heap.cc File Reference
#include "storage/heap/ha_heap.h"
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include "my_macros.h"
#include "my_pointer_arithmetic.h"
#include "my_psi_config.h"
#include "mysql/plugin.h"
#include "sql/current_thd.h"
#include "sql/field.h"
#include "sql/sql_base.h"
#include "sql/sql_class.h"
#include "sql/sql_plugin.h"
#include "storage/heap/heapdef.h"

Macros

#define MYSQL_SERVER   1
 
#define HEAP_STATS_UPDATE_THRESHOLD   10
 

Functions

static handlerheap_create_handler (handlerton *hton, TABLE_SHARE *table, bool partitioned, MEM_ROOT *mem_root)
 
static int heap_prepare_hp_create_info (TABLE *table_arg, bool single_instance, bool delete_on_close, HP_CREATE_INFO *hp_create_info)
 
static int heap_panic (handlerton *, ha_panic_function flag)
 
static int heap_init (void *p)
 
 mysql_declare_plugin (heap)
 

Variables

struct st_mysql_storage_engine heap_storage_engine
 
 mysql_declare_plugin_end
 

Macro Definition Documentation

◆ HEAP_STATS_UPDATE_THRESHOLD

#define HEAP_STATS_UPDATE_THRESHOLD   10

◆ MYSQL_SERVER

#define MYSQL_SERVER   1

Function Documentation

◆ heap_create_handler()

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

◆ heap_init()

static int heap_init ( void *  p)
static

◆ heap_panic()

static int heap_panic ( handlerton ,
ha_panic_function  flag 
)
static

◆ heap_prepare_hp_create_info()

static int heap_prepare_hp_create_info ( TABLE table_arg,
bool  single_instance,
bool  delete_on_close,
HP_CREATE_INFO hp_create_info 
)
static

◆ mysql_declare_plugin()

mysql_declare_plugin ( heap  )

Variable Documentation

◆ heap_storage_engine

struct st_mysql_storage_engine heap_storage_engine
Initial value:
= {
#define MYSQL_HANDLERTON_INTERFACE_VERSION
Definition: plugin.h:701

◆ mysql_declare_plugin_end

mysql_declare_plugin_end