MySQL 8.4.0
Source Code Documentation
hp_open.cc File Reference
#include <errno.h>
#include <sys/types.h>
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysql/service_mysql_alloc.h"
#include "storage/heap/heapdef.h"

Functions

HP_INFOheap_open_from_share (HP_SHARE *share, int mode)
 
HP_INFOheap_open_from_share_and_register (HP_SHARE *share, int mode)
 
void heap_release_share (HP_SHARE *share, bool single_instance)
 Dereference a HEAP share and free it if it's not referenced. More...
 
HP_INFOheap_open (const char *name, int mode)
 
HP_SHAREhp_find_named_heap (const char *name)
 

Function Documentation

◆ heap_open()

HP_INFO * heap_open ( const char *  name,
int  mode 
)

◆ heap_open_from_share()

HP_INFO * heap_open_from_share ( HP_SHARE share,
int  mode 
)

◆ heap_open_from_share_and_register()

HP_INFO * heap_open_from_share_and_register ( HP_SHARE share,
int  mode 
)

◆ heap_release_share()

void heap_release_share ( HP_SHARE share,
bool  single_instance 
)

Dereference a HEAP share and free it if it's not referenced.

We needn't check open_count for single instances.

◆ hp_find_named_heap()

HP_SHARE * hp_find_named_heap ( const char *  name)