diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:19:14 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:19:14 +0200 |
commit | 32ee15d851f3099d401b28321a1ae46dd36ef8ef (patch) | |
tree | 869a399c387a132c4f7d8e4fdf2f28f3ecb1cf45 /sql/sql_table.h | |
parent | 60aed41222bd7d4b5e607e098f778ca7438f0416 (diff) | |
download | mariadb-git-32ee15d851f3099d401b28321a1ae46dd36ef8ef.tar.gz |
Assisted discovery
Diffstat (limited to 'sql/sql_table.h')
-rw-r--r-- | sql/sql_table.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_table.h b/sql/sql_table.h index 3bed73f67c3..8bc6865decd 100644 --- a/sql/sql_table.h +++ b/sql/sql_table.h @@ -160,6 +160,8 @@ bool mysql_create_table(THD *thd, TABLE_LIST *create_table, creates an frm file for the #sql-xxx, the table in the engine is not created. + - Assisted discovery, CREATE TABLE statement without the table structure. + These situations are distinguished by the following "create table mode" values, where a CREATE ... SELECT is denoted by any non-negative number (which should be the number of fields in the SELECT ... part), and other @@ -169,6 +171,7 @@ bool mysql_create_table(THD *thd, TABLE_LIST *create_table, #define C_ORDINARY_CREATE 0 #define C_ALTER_TABLE -1 #define C_ALTER_TABLE_FRM_ONLY -2 +#define C_ASSISTED_DISCOVERY -3 bool mysql_create_table_no_lock(THD *thd, const char *db, const char *table_name, |