diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2020-03-07 01:20:45 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2020-03-07 01:20:45 +0300 |
commit | 92eed38c2446d57057c621ed7da8249c194ea172 (patch) | |
tree | 4386e25507a347c734bccb56b52a0f3310ac2140 /sql/sql_show.h | |
parent | cbbe4971b6b26a5017a7da5ebfd89e3aee9f4387 (diff) | |
download | mariadb-git-92eed38c2446d57057c621ed7da8249c194ea172.tar.gz |
Provide a show_create_table_ex() function
It is like show_create_table() but allows the caller to specify the
database_name and table_name which are to be printed.
Diffstat (limited to 'sql/sql_show.h')
-rw-r--r-- | sql/sql_show.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_show.h b/sql/sql_show.h index a98ba451088..3bf4c70cc5a 100644 --- a/sql/sql_show.h +++ b/sql/sql_show.h @@ -83,6 +83,12 @@ int show_create_table(THD *thd, TABLE_LIST *table_list, String *packet, Table_specification_st *create_info_arg, enum_with_db_name with_db_name); +int show_create_table_ex(THD *thd, TABLE_LIST *table_list, + const char * forced_db, const char *forced_name, + String *packet, + Table_specification_st *create_info_arg, + enum_with_db_name with_db_name); + int copy_event_to_schema_table(THD *thd, TABLE *sch_table, TABLE *event_table); bool append_identifier(THD *thd, String *packet, const char *name, size_t length); |