summaryrefslogtreecommitdiff
path: root/sql/sql_show.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-01-26 16:00:59 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-01-26 23:18:13 +0400
commitdf2695495188b0c3459eabb40c8e390f56cddb27 (patch)
treeb0262db29ac4475b5f9065e6a6294a702a894e27 /sql/sql_show.h
parenta095c99301a0acac9b2db9b294f24a8753ebed48 (diff)
downloadmariadb-git-df2695495188b0c3459eabb40c8e390f56cddb27.tar.gz
MDEV-5273 Prepared statement doesn't return metadata after prepare.
The metadata creation part of the mysqld_shww_create separated to be used on the mysqld_stmt_prepare stage.
Diffstat (limited to 'sql/sql_show.h')
-rw-r--r--sql/sql_show.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_show.h b/sql/sql_show.h
index 029249f4129..06ff909733a 100644
--- a/sql/sql_show.h
+++ b/sql/sql_show.h
@@ -85,6 +85,8 @@ bool append_identifier(THD *thd, String *packet, const char *name,
uint length);
void mysqld_list_fields(THD *thd,TABLE_LIST *table, const char *wild);
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);
bool mysqld_show_create_db(THD *thd, LEX_STRING *db_name,
LEX_STRING *orig_db_name,