mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
cleanup: remove Item::intro_version
and partition_info::set_show_version_string - they were already broken and impossible to maintain
This commit is contained in:
@ -2232,7 +2232,7 @@ int show_create_table(THD *thd, TABLE_LIST *table_list, String *packet,
|
||||
uint part_syntax_len;
|
||||
char *part_syntax;
|
||||
String comment_start;
|
||||
table->part_info->set_show_version_string(&comment_start);
|
||||
comment_start.append(STRING_WITH_LEN("\n"));
|
||||
if ((part_syntax= generate_partition_syntax(thd, table->part_info,
|
||||
&part_syntax_len,
|
||||
FALSE,
|
||||
@ -2241,8 +2241,7 @@ int show_create_table(THD *thd, TABLE_LIST *table_list, String *packet,
|
||||
comment_start.c_ptr())))
|
||||
{
|
||||
packet->append(comment_start);
|
||||
if (packet->append(part_syntax, part_syntax_len) ||
|
||||
packet->append(STRING_WITH_LEN(" */")))
|
||||
if (packet->append(part_syntax, part_syntax_len))
|
||||
error= 1;
|
||||
my_free(part_syntax);
|
||||
}
|
||||
|
Reference in New Issue
Block a user