mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
BUG#46183, added character set identifier on character constants in VALUES part for column list partitioned tables to ensure constants are handled properly according to character sets
This commit is contained in:
@@ -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,"'");
|
||||
|
Reference in New Issue
Block a user