MDEV-5273 Prepared statement doesn't return metadata after prepare.

Fix for SHOW CREATE DATABASE.
This commit is contained in:
Alexey Botchkov 2016-01-27 12:01:55 +04:00
commit f3926cd18e
4 changed files with 63 additions and 26 deletions

View file

@ -88,6 +88,7 @@ int mysqld_dump_create_info(THD *thd, TABLE_LIST *table_list, int fd);
bool mysqld_show_create_get_fields(THD *thd, TABLE_LIST *table_list,
List<Item> *field_list, String *buffer);
bool mysqld_show_create(THD *thd, TABLE_LIST *table_list);
void mysqld_show_create_db_get_fields(THD *thd, List<Item> *field_list);
bool mysqld_show_create_db(THD *thd, LEX_STRING *db_name,
LEX_STRING *orig_db_name,
const DDL_options_st &options);