summaryrefslogtreecommitdiff
path: root/sql/sql_table.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 16:07:17 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 16:07:17 +0200
commit4853c7192ded76ede690746cde9eaabbc448479b (patch)
tree04c76fb9f4e4fd3998c6cc26427f3011f10a4cdd /sql/sql_table.h
parent474f45b3dc684b14c3b5ab86303c8aa890d2dce5 (diff)
downloadmariadb-git-4853c7192ded76ede690746cde9eaabbc448479b.tar.gz
discovery using sql CREATE TABLE statement
Diffstat (limited to 'sql/sql_table.h')
-rw-r--r--sql/sql_table.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_table.h b/sql/sql_table.h
index 4dc28aa4933..016260b6b26 100644
--- a/sql/sql_table.h
+++ b/sql/sql_table.h
@@ -25,6 +25,7 @@ struct TABLE_LIST;
class THD;
struct TABLE;
struct handlerton;
+class handler;
typedef struct st_ha_check_opt HA_CHECK_OPT;
struct HA_CREATE_INFO;
typedef struct st_key KEY;
@@ -140,6 +141,12 @@ bool mysql_create_table_no_lock(THD *thd, const char *db,
Alter_info *alter_info,
bool tmp_table, uint select_field_count,
bool *is_trans);
+handler *mysql_create_frm_image(THD *thd,
+ const char *db, const char *table_name,
+ HA_CREATE_INFO *create_info,
+ Alter_info *alter_info,
+ bool internal_tmp_table,
+ uint select_field_count, LEX_CUSTRING *frm);
bool mysql_prepare_alter_table(THD *thd, TABLE *table,
HA_CREATE_INFO *create_info,
Alter_info *alter_info);