1
0
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:
Sergei Golubchik
2015-11-20 13:11:35 +01:00
parent d440319842
commit 0bef3bb8d0
157 changed files with 5769 additions and 5825 deletions

View File

@ -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);
}