1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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.
This commit is contained in:
Alexey Botchkov
2016-01-26 16:00:59 +04:00
parent a095c99301
commit df26954951
4 changed files with 157 additions and 68 deletions

View File

@ -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,