MySQL 8.4.2
Source Code Documentation
|
#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_INFO * | heap_open_from_share (HP_SHARE *share, int mode) |
HP_INFO * | heap_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_INFO * | heap_open (const char *name, int mode) |
HP_SHARE * | hp_find_named_heap (const char *name) |
HP_INFO * heap_open | ( | const char * | name, |
int | mode | ||
) |
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_SHARE * hp_find_named_heap | ( | const char * | name | ) |