43#define MYRG_NAME_EXT ".MRG"
46#define MERGE_INSERT_DISABLED 0
47#define MERGE_INSERT_TO_FIRST 1
48#define MERGE_INSERT_TO_LAST 2
94 int (*callback)(
void *,
const char *),
95 void *callback_param);
98 void *callback_param,
bool *need_compat_check);
115 uint insert_method,
bool fix_names);
static int flag
Definition: hp_test1.cc:40
This file includes constants used by all storage engines.
ha_panic_function
Definition: my_base.h:432
ha_rkey_function
Definition: my_base.h:78
ulong key_part_map
Definition: my_base.h:1008
my_off_t ha_rows
Definition: my_base.h:1141
ha_extra_function
Definition: my_base.h:185
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
unsigned char uchar
Definition: my_inttypes.h:52
This file should be included when using myisam functions.
int myrg_rprev(MYRG_INFO *file, uchar *buf, int inx)
Definition: myrg_rprev.cc:34
int myrg_close(MYRG_INFO *file)
Definition: myrg_close.cc:32
int myrg_detach_children(MYRG_INFO *m_info)
Detach children from a MyISAM MERGE parent table.
Definition: myrg_open.cc:496
int myrg_rnext(MYRG_INFO *file, uchar *buf, int inx)
Definition: myrg_rnext.cc:34
MYRG_INFO * myrg_parent_open(const char *parent_name, int(*callback)(void *, const char *), void *callback_param)
Open parent table of a MyISAM MERGE table.
Definition: myrg_open.cc:220
int myrg_create(const char *name, const char **table_names, uint insert_method, bool fix_names)
Definition: myrg_create.cc:45
ulonglong myrg_position(MYRG_INFO *info)
Definition: myrg_info.cc:31
int myrg_rnext_same(MYRG_INFO *file, uchar *buf)
Definition: myrg_rnext_same.cc:30
int myrg_lock_database(MYRG_INFO *file, int lock_type)
Definition: myrg_locking.cc:36
ha_rows myrg_records_in_range(MYRG_INFO *info, int inx, key_range *min_key, key_range *max_key)
Definition: myrg_range.cc:26
int myrg_rfirst(MYRG_INFO *file, uchar *buf, int inx)
Definition: myrg_rfirst.cc:32
int myrg_panic(enum ha_panic_function function)
Definition: myrg_panic.cc:35
int myrg_rrnd(MYRG_INFO *file, uchar *buf, ulonglong pos)
Definition: myrg_rrnd.cc:47
int myrg_rlast(MYRG_INFO *file, uchar *buf, int inx)
Definition: myrg_rlast.cc:32
int myrg_write(MYRG_INFO *info, uchar *rec)
Definition: myrg_write.cc:30
int myrg_status(MYRG_INFO *file, MYMERGE_INFO *x, int flag)
Definition: myrg_info.cc:42
int myrg_delete(MYRG_INFO *file, const uchar *buff)
Definition: myrg_delete.cc:30
int myrg_rkey(MYRG_INFO *info, uchar *buf, int inx, const uchar *key, key_part_map keypart_map, enum ha_rkey_function search_flag)
Definition: myrg_rkey.cc:52
int myrg_reset(MYRG_INFO *info)
Definition: myrg_extra.cc:54
int myrg_extra(MYRG_INFO *file, enum ha_extra_function function, void *extra_arg)
Definition: myrg_extra.cc:35
int myrg_attach_children(MYRG_INFO *m_info, int handle_locking, MI_INFO *(*callback)(void *), void *callback_param, bool *need_compat_check)
Attach children to a MyISAM MERGE parent table.
Definition: myrg_open.cc:366
TYPELIB merge_insert_method
Definition: myrg_static.cc:42
ha_rows myrg_records(MYRG_INFO *info)
Definition: myrg_records.cc:28
int myrg_update(MYRG_INFO *file, const uchar *old, uchar *new_rec)
Definition: myrg_update.cc:30
MYRG_INFO * myrg_open(const char *name, int mode, int wait_if_locked)
Definition: myrg_open.cc:52
Definition: buf0block_hint.cc:30
mode
Definition: file_handle.h:61
Instrumentation helpers for mutexes.
Code for handling of priority queues.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
case opt name
Definition: sslopt-case.h:29
Definition: myisamdef.h:253
Definition: myisammrg.h:55
ulonglong dupp_key_pos
Definition: myisammrg.h:60
ulonglong records
Definition: myisammrg.h:56
uint options
Definition: myisammrg.h:63
int errkey
Definition: myisammrg.h:62
ulong * rec_per_key
Definition: myisammrg.h:64
ulonglong recpos
Definition: myisammrg.h:58
uint reclength
Definition: myisammrg.h:61
ulonglong deleted
Definition: myisammrg.h:57
ulonglong data_file_length
Definition: myisammrg.h:59
Definition: myisammrg.h:72
uint options
Definition: myisammrg.h:79
MYRG_TABLE * open_tables
Definition: myisammrg.h:73
mysql_mutex_t mutex
Definition: myisammrg.h:85
uint reclength
Definition: myisammrg.h:79
LIST open_list
Definition: myisammrg.h:82
ulonglong records
Definition: myisammrg.h:74
MYRG_TABLE * end_table
Definition: myisammrg.h:73
MYRG_TABLE * last_used_table
Definition: myisammrg.h:73
MYRG_TABLE * current_table
Definition: myisammrg.h:73
bool children_attached
Definition: myisammrg.h:81
uint merge_insert_method
Definition: myisammrg.h:78
ulong * rec_per_key_part
Definition: myisammrg.h:84
uint tables
Definition: myisammrg.h:79
QUEUE by_key
Definition: myisammrg.h:83
ulonglong data_file_length
Definition: myisammrg.h:76
uint keys
Definition: myisammrg.h:79
ulong cache_size
Definition: myisammrg.h:77
ulonglong del
Definition: myisammrg.h:75
Definition: myisammrg.h:67
MI_INFO * table
Definition: myisammrg.h:68
ulonglong file_offset
Definition: myisammrg.h:69
Definition: my_base.h:1125
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50