mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02: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:
parent
6f27ad15b2
commit
cecef1c56e
3 changed files with 56 additions and 17 deletions
|
|
@ -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,"'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue