1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

A cleanup for MDEV-10577 and MDEV-13919: moving a few sp_rcontext methods

Moving a few methods from sp_rcontext to different classes:

- Table_ident::resolve_table_rowtype_ref
- Qualified_column_ident::resolve_type_ref
- Row_definition_list::resolve_table_rowtype_ref
- Row_definition_list::adjust_formal_params_to_actual_params

It easier to reuse these methods this way in the future.
This commit is contained in:
Alexander Barkov
2017-09-28 17:26:23 +04:00
parent 3a6d94428f
commit 596baeb1bf
4 changed files with 24 additions and 32 deletions

View File

@@ -5496,6 +5496,7 @@ public:
{
db= *db_name;
}
bool resolve_table_rowtype_ref(THD *thd, Row_definition_list &defs);
};
@@ -5519,6 +5520,7 @@ public:
:Table_ident(thd, db, table, false),
m_column(*column)
{ }
bool resolve_type_ref(THD *thd, Column_definition *def);
};