diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:07:17 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:07:17 +0200 |
commit | 4853c7192ded76ede690746cde9eaabbc448479b (patch) | |
tree | 04c76fb9f4e4fd3998c6cc26427f3011f10a4cdd /sql/unireg.h | |
parent | 474f45b3dc684b14c3b5ab86303c8aa890d2dce5 (diff) | |
download | mariadb-git-4853c7192ded76ede690746cde9eaabbc448479b.tar.gz |
discovery using sql CREATE TABLE statement
Diffstat (limited to 'sql/unireg.h')
-rw-r--r-- | sql/unireg.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sql/unireg.h b/sql/unireg.h index 6972f90c1db..89dae6b2e97 100644 --- a/sql/unireg.h +++ b/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 |