summaryrefslogtreecommitdiff
path: root/sql/sql_show.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-01-27 12:01:55 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-01-28 11:12:03 +0400
commitf3926cd18e2ba64f2643c6c4f6a981ed99868895 (patch)
tree907763729c758b45c954498aa3d8fa0c4287ae87 /sql/sql_show.h
parent07e976294089cbc0c8cf46d984565e6136ffa9e8 (diff)
downloadmariadb-git-f3926cd18e2ba64f2643c6c4f6a981ed99868895.tar.gz
MDEV-5273 Prepared statement doesn't return metadata after prepare.
Fix for SHOW CREATE DATABASE.
Diffstat (limited to 'sql/sql_show.h')
-rw-r--r--sql/sql_show.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_show.h b/sql/sql_show.h
index 06ff909733a..ecb7e9468ea 100644
--- a/sql/sql_show.h
+++ b/sql/sql_show.h
@@ -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);