mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Bug#14326: No formatting of partitioning clause in SHOW CREATE TABLE output
The partitioning clause is only a very long single line, which is very hard to interpret for a human. This patch breaks the partitioning syntax into one line for the partitioning type, and one line per partition/subpartition.
This commit is contained in:
@@ -1453,7 +1453,7 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
|
||||
FALSE,
|
||||
show_table_options))))
|
||||
{
|
||||
packet->append(STRING_WITH_LEN(" /*!50100"));
|
||||
packet->append(STRING_WITH_LEN("\n/*!50100"));
|
||||
packet->append(part_syntax, part_syntax_len);
|
||||
packet->append(STRING_WITH_LEN(" */"));
|
||||
my_free(part_syntax, MYF(0));
|
||||
|
||||
Reference in New Issue
Block a user