mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 16:55:31 +02:00
discovery using sql CREATE TABLE statement
This commit is contained in:
parent
474f45b3dc
commit
4853c7192d
13 changed files with 343 additions and 217 deletions
18
sql/unireg.h
18
sql/unireg.h
|
|
@ -167,17 +167,13 @@
|
|||
#include "sql_list.h" /* List<> */
|
||||
#include "field.h" /* Create_field */
|
||||
|
||||
bool mysql_create_frm(THD *thd, const char *file_name,
|
||||
const char *db, const char *table,
|
||||
HA_CREATE_INFO *create_info,
|
||||
List<Create_field> &create_field,
|
||||
uint key_count,KEY *key_info,handler *db_type);
|
||||
int rea_create_table(THD *thd, const char *path,
|
||||
const char *db, const char *table_name,
|
||||
HA_CREATE_INFO *create_info,
|
||||
List<Create_field> &create_field,
|
||||
uint key_count,KEY *key_info,
|
||||
handler *file);
|
||||
int rea_create_table(THD *thd, LEX_CUSTRING *frm,
|
||||
const char *path, const char *db, const char *table_name,
|
||||
HA_CREATE_INFO *create_info, handler *file);
|
||||
LEX_CUSTRING build_frm_image(THD *thd, const char *table,
|
||||
HA_CREATE_INFO *create_info,
|
||||
List<Create_field> &create_fields,
|
||||
uint keys, KEY *key_info, handler *db_file);
|
||||
|
||||
#define FRM_HEADER_SIZE 64
|
||||
#define FRM_FORMINFO_SIZE 288
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue