diff options
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index 0a6a2b98941..8ec3d196c3b 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -2147,7 +2147,14 @@ static int add_column_list_values(File fptr, partition_info *part_info, return 1; } if (item_expr->result_type() == STRING_RESULT) + { + if (field_cs) + { + err+= add_string(fptr,"_"); + err+= add_string(fptr, field_cs->csname); + } err+= add_string(fptr,"'"); + } err+= add_string_object(fptr, res); if (item_expr->result_type() == STRING_RESULT) err+= add_string(fptr,"'"); |