summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorgluh@mysql.com/eagle.(none) <>2007-06-06 17:47:02 +0500
committergluh@mysql.com/eagle.(none) <>2007-06-06 17:47:02 +0500
commit52d267dabb04f3ec62c99a159594ec61f4f8772f (patch)
tree28229a1d29ab607965100a5fbad2af5178358a86 /sql/sql_show.cc
parent4cd4a3d314e7f6df09ff4003ba3357e15e3ce7e6 (diff)
downloadmariadb-git-52d267dabb04f3ec62c99a159594ec61f4f8772f.tar.gz
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.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 9aa444aa4c0..08caf6817e1 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -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