mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug #16466 DD: SHOW CREATE TABLE does not show TABLESPACE table_space1 STORAGE DISK
This commit is contained in:
@ -1135,6 +1135,17 @@ store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
|
||||
packet->append(STRING_WITH_LEN("\n)"));
|
||||
if (!(thd->variables.sql_mode & MODE_NO_TABLE_OPTIONS) && !foreign_db_mode)
|
||||
{
|
||||
/*
|
||||
Get possible table space definitions and append them
|
||||
to the CREATE TABLE statement
|
||||
*/
|
||||
|
||||
if ((for_str= file->get_tablespace_create_info()))
|
||||
{
|
||||
packet->append(for_str, strlen(for_str));
|
||||
my_free(for_str, MYF(0));
|
||||
}
|
||||
|
||||
/*
|
||||
IF check_create_info
|
||||
THEN add ENGINE only if it was used when creating the table
|
||||
|
Reference in New Issue
Block a user