1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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
This commit is contained in:
Alexander Barkov
2015-11-25 11:22:10 +04:00
parent a099686e2e
commit 00ed55c71a
16 changed files with 85 additions and 64 deletions

View File

@ -5627,7 +5627,7 @@ bool store_schema_params(THD *thd, TABLE *table, TABLE *proc_table,
if (sp)
{
Field *field;
Create_field *field_def;
Column_definition *field_def;
String tmp_string;
if (routine_type == TYPE_ENUM_FUNCTION)
{
@ -5786,7 +5786,7 @@ bool store_schema_proc(THD *thd, TABLE *table, TABLE *proc_table,
TABLE_SHARE share;
TABLE tbl;
Field *field;
Create_field *field_def= &sp->m_return_field_def;
Column_definition *field_def= &sp->m_return_field_def;
bzero((char*) &tbl, sizeof(TABLE));
(void) build_table_filename(path, sizeof(path), "", "", "", 0);