45
45
uint64_t int_table_flags;
46
46
char *data_file_name, *index_file_name;
47
47
bool can_enable_indexes;
48
int repair(Session *thd, MI_CHECK ¶m, bool optimize);
48
int repair(Session *session, MI_CHECK ¶m, bool optimize);
51
51
ha_myisam(handlerton *hton, TABLE_SHARE *table_arg);
95
95
int extra(enum ha_extra_function operation);
96
96
int extra_opt(enum ha_extra_function operation, uint32_t cache_size);
98
int external_lock(Session *thd, int lock_type);
98
int external_lock(Session *session, int lock_type);
99
99
int delete_all_rows(void);
100
100
int disable_indexes(uint32_t mode);
101
101
int enable_indexes(uint32_t mode);
105
105
ha_rows records_in_range(uint32_t inx, key_range *min_key, key_range *max_key);
106
106
void update_create_info(HA_CREATE_INFO *create_info);
107
107
int create(const char *name, Table *form, HA_CREATE_INFO *create_info);
108
THR_LOCK_DATA **store_lock(Session *thd, THR_LOCK_DATA **to,
108
THR_LOCK_DATA **store_lock(Session *session, THR_LOCK_DATA **to,
109
109
enum thr_lock_type lock_type);
110
110
virtual void get_auto_increment(uint64_t offset, uint64_t increment,
111
111
uint64_t nb_desired_values,
113
113
uint64_t *nb_reserved_values);
114
114
int rename_table(const char * from, const char * to);
115
115
int delete_table(const char *name);
116
int check(Session* thd, HA_CHECK_OPT* check_opt);
117
int analyze(Session* thd,HA_CHECK_OPT* check_opt);
118
int repair(Session* thd, HA_CHECK_OPT* check_opt);
119
bool check_and_repair(Session *thd);
116
int check(Session* session, HA_CHECK_OPT* check_opt);
117
int analyze(Session* session,HA_CHECK_OPT* check_opt);
118
int repair(Session* session, HA_CHECK_OPT* check_opt);
119
bool check_and_repair(Session *session);
120
120
bool is_crashed() const;
121
121
bool auto_repair() const { return myisam_recover_options != 0; }
122
int optimize(Session* thd, HA_CHECK_OPT* check_opt);
123
int assign_to_keycache(Session* thd, HA_CHECK_OPT* check_opt);
122
int optimize(Session* session, HA_CHECK_OPT* check_opt);
123
int assign_to_keycache(Session* session, HA_CHECK_OPT* check_opt);
124
124
bool check_if_incompatible_data(HA_CREATE_INFO *info, uint32_t table_changes);
125
125
#ifdef HAVE_QUERY_CACHE
126
bool register_query_cache_table(Session *thd, char *table_key,
126
bool register_query_cache_table(Session *session, char *table_key,
127
127
uint32_t key_length,
128
128
qc_engine_callback
129
129
*engine_callback,