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

Bug#28007 Wrong default value for I_S.PARTITIONS.PARTITION_COMMENT

The value of the PARTITION_COMMENT column is an empty string if there is no partition comment.
This commit is contained in:
gluh@mysql.com/eagle.(none)
2007-06-06 17:47:02 +05:00
parent 4cd4a3d314
commit 52d267dabb
5 changed files with 63 additions and 63 deletions

View File

@ -4044,7 +4044,7 @@ static void store_schema_partitions_record(THD *thd, TABLE *schema_table,
table->field[22]->store(part_elem->part_comment,
strlen(part_elem->part_comment), cs);
else
table->field[22]->store(STRING_WITH_LEN("default"), cs);
table->field[22]->store(STRING_WITH_LEN(""), cs);
if (part_elem->nodegroup_id != UNDEF_NODEGROUP)
table->field[23]->store((longlong) part_elem->nodegroup_id, TRUE);
else