summaryrefslogtreecommitdiff
path: root/sql/sql_table.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-11-25 11:22:10 +0400
committerAlexander Barkov <bar@mariadb.org>2015-11-25 11:22:10 +0400
commit00ed55c71ab08045d79917ae3a749d2c3dae25cf (patch)
tree83b774822a3c8fc88402b10517d7a7a56ac4ca6e /sql/sql_table.h
parenta099686e2e9fdc3d7dc2948cc13165c9e8aaf11d (diff)
downloadmariadb-git-00ed55c71ab08045d79917ae3a749d2c3dae25cf.tar.gz
A joint patch for:
- MDEV-8093 sql_yacc.yy: add %type create_field for field_spec and column_def and partially: - MDEV-8095 Split Create_field
Diffstat (limited to 'sql/sql_table.h')
-rw-r--r--sql/sql_table.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_table.h b/sql/sql_table.h
index a8124177840..109da541a28 100644
--- a/sql/sql_table.h
+++ b/sql/sql_table.h
@@ -23,6 +23,7 @@
class Alter_info;
class Alter_table_ctx;
+class Column_definition;
class Create_field;
struct TABLE_LIST;
class THD;
@@ -249,8 +250,8 @@ bool log_drop_table(THD *thd, const char *db_name, size_t db_name_length,
bool quick_rm_table(THD *thd, handlerton *base, const char *db,
const char *table_name, uint flags);
void close_cached_table(THD *thd, TABLE *table);
-void sp_prepare_create_field(THD *thd, Create_field *sql_field);
-int prepare_create_field(Create_field *sql_field,
+void sp_prepare_create_field(THD *thd, Column_definition *sql_field);
+int prepare_create_field(Column_definition *sql_field,
uint *blob_columns,
longlong table_flags);
CHARSET_INFO* get_sql_field_charset(Create_field *sql_field,