MySQL 8.4.2
Source Code Documentation
hp_create.cc File Reference
#include <errno.h>
#include <sys/types.h>
#include <time.h>
#include <algorithm>
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "mysql/service_mysql_alloc.h"
#include "storage/heap/heapdef.h"
#include "template_utils.h"

Functions

static int keys_compare (const void *a, const void *b, const void *c)
 
static void init_block (HP_BLOCK *block, uint reclength, ulong min_records, ulong max_records)
 
int heap_create (const char *name, HP_CREATE_INFO *create_info, HP_SHARE **res, bool *created_new_share)
 
static void heap_try_free (HP_SHARE *share)
 
int heap_delete_table (const char *name)
 
void heap_drop_table (HP_INFO *info)
 
void hp_free (HP_SHARE *share)
 

Function Documentation

◆ heap_create()

int heap_create ( const char *  name,
HP_CREATE_INFO create_info,
HP_SHARE **  res,
bool *  created_new_share 
)

◆ heap_delete_table()

int heap_delete_table ( const char *  name)

◆ heap_drop_table()

void heap_drop_table ( HP_INFO info)

◆ heap_try_free()

static void heap_try_free ( HP_SHARE share)
inlinestatic

◆ hp_free()

void hp_free ( HP_SHARE share)

◆ init_block()

static void init_block ( HP_BLOCK block,
uint  reclength,
ulong  min_records,
ulong  max_records 
)
static

◆ keys_compare()

static int keys_compare ( const void *  a,
const void *  b,
const void *  c 
)
static