Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Funciones
Referencia del Archivo src/libmysql_std/include/heap.h
#include <my_base.h>
#include "my_handler.h"
#include "my_tree.h"

Ir al código fuente de este archivo.

Clases

struct  st_heapinfo
struct  st_heap_ptrs
struct  st_level_info
struct  st_heap_block
struct  st_hp_keydef
struct  st_heap_share
struct  st_heap_info
struct  st_heap_create_info

'defines'

#define HP_MAX_LEVELS   4
#define HP_PTRS_IN_NOD   128

'typedefs'

typedef struct st_heapinfo HEAPINFO
typedef struct st_heap_ptrs HP_PTRS
typedef struct st_heap_block HP_BLOCK
typedef struct st_hp_keydef HP_KEYDEF
typedef struct st_heap_share HP_SHARE
typedef struct st_heap_info HP_INFO
typedef struct st_heap_create_info HP_CREATE_INFO
typedef byteHEAP_PTR

Funciones

HP_INFOheap_open (const char *name, int mode)
int heap_close (HP_INFO *info)
int heap_write (HP_INFO *info, const byte *buff)
int heap_update (HP_INFO *info, const byte *old, const byte *newdata)
int heap_rrnd (HP_INFO *info, byte *buf, byte *pos)
int heap_scan_init (HP_INFO *info)
int heap_scan (register HP_INFO *info, byte *record)
int heap_delete (HP_INFO *info, const byte *buff)
int heap_info (HP_INFO *info, HEAPINFO *x, int flag)
int heap_create (const char *name, uint keys, HP_KEYDEF *keydef, uint reclength, ulong max_records, ulong min_records, HP_CREATE_INFO *create_info)
int heap_delete_table (const char *name)
int heap_extra (HP_INFO *info, enum ha_extra_function function)
int heap_rename (const char *old_name, const char *new_name)
int heap_panic (enum ha_panic_function flag)
int heap_rsame (HP_INFO *info, byte *record, int inx)
int heap_rnext (HP_INFO *info, byte *record)
int heap_rprev (HP_INFO *info, byte *record)
int heap_rfirst (HP_INFO *info, byte *record, int inx)
int heap_rlast (HP_INFO *info, byte *record, int inx)
void heap_clear (HP_INFO *info)
void heap_clear_keys (HP_INFO *info)
int heap_disable_indexes (HP_INFO *info)
int heap_enable_indexes (HP_INFO *info)
int heap_indexes_are_disabled (HP_INFO *info)
void heap_update_auto_increment (HP_INFO *info, const byte *record)
ha_rows hp_rb_records_in_range (HP_INFO *info, int inx, key_range *min_key, key_range *max_key)
int heap_rkey (HP_INFO *info, byte *record, int inx, const byte *key, uint key_len, enum ha_rkey_function find_flag)
gptr heap_find (HP_INFO *info, int inx, const byte *key)
int heap_check_heap (HP_INFO *info, my_bool print_status)
byteheap_position (HP_INFO *info)

Documentación de los 'defines'

#define HP_MAX_LEVELS   4
#define HP_PTRS_IN_NOD   128

Documentación de los 'typedefs'

typedef byte* HEAP_PTR
typedef struct st_heapinfo HEAPINFO
typedef struct st_heap_block HP_BLOCK
typedef struct st_heap_info HP_INFO
typedef struct st_hp_keydef HP_KEYDEF
typedef struct st_heap_ptrs HP_PTRS
typedef struct st_heap_share HP_SHARE

Documentación de las funciones

int heap_check_heap ( HP_INFO info,
my_bool  print_status 
)
void heap_clear ( HP_INFO info)
void heap_clear_keys ( HP_INFO info)
int heap_close ( HP_INFO info)
int heap_create ( const char *  name,
uint  keys,
HP_KEYDEF keydef,
uint  reclength,
ulong  max_records,
ulong  min_records,
HP_CREATE_INFO create_info 
)
int heap_delete ( HP_INFO info,
const byte buff 
)
int heap_delete_table ( const char *  name)
int heap_disable_indexes ( HP_INFO info)
int heap_enable_indexes ( HP_INFO info)
int heap_extra ( HP_INFO info,
enum ha_extra_function  function 
)
gptr heap_find ( HP_INFO info,
int  inx,
const byte key 
)
int heap_indexes_are_disabled ( HP_INFO info)
int heap_info ( HP_INFO info,
HEAPINFO x,
int  flag 
)
HP_INFO* heap_open ( const char *  name,
int  mode 
)
int heap_panic ( enum ha_panic_function  flag)
byte* heap_position ( HP_INFO info)
int heap_rename ( const char *  old_name,
const char *  new_name 
)
int heap_rfirst ( HP_INFO info,
byte record,
int  inx 
)
int heap_rkey ( HP_INFO info,
byte record,
int  inx,
const byte key,
uint  key_len,
enum ha_rkey_function  find_flag 
)
int heap_rlast ( HP_INFO info,
byte record,
int  inx 
)
int heap_rnext ( HP_INFO info,
byte record 
)
int heap_rprev ( HP_INFO info,
byte record 
)
int heap_rrnd ( HP_INFO info,
byte buf,
byte pos 
)
int heap_rsame ( HP_INFO info,
byte record,
int  inx 
)
int heap_scan ( register HP_INFO info,
byte record 
)
int heap_scan_init ( HP_INFO info)
int heap_update ( HP_INFO info,
const byte old,
const byte newdata 
)
void heap_update_auto_increment ( HP_INFO info,
const byte record 
)
int heap_write ( HP_INFO info,
const byte buff 
)
ha_rows hp_rb_records_in_range ( HP_INFO info,
int  inx,
key_range min_key,
key_range max_key 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'