190
TABLE_SHARE *alloc_table_share(TableList *table_list, char *key,
190
TableShare *alloc_table_share(TableList *table_list, char *key,
191
191
uint32_t key_length);
192
void init_tmp_table_share(Session *session, TABLE_SHARE *share, const char *key,
194
const char *table_name, const char *path);
195
void free_table_share(TABLE_SHARE *share);
196
int open_table_def(Session *session, TABLE_SHARE *share, uint32_t db_flags);
197
void open_table_error(TABLE_SHARE *share, int error, int db_errno, int errarg);
198
int open_table_from_share(Session *session, TABLE_SHARE *share, const char *alias,
192
int open_table_def(Session *session, TableShare *share);
193
void open_table_error(TableShare *share, int error, int db_errno, int errarg);
194
int open_table_from_share(Session *session, TableShare *share, const char *alias,
199
195
uint32_t db_stat, uint32_t prgflag, uint32_t ha_open_flags,
200
196
Table *outparam, open_table_mode open_mode);
201
197
int readfrm(const char *name, unsigned char **data, size_t *length);