mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 07:05:33 +02:00
MDEV-6566 Different INSERT behaviour on bad bytes with and without character set conversion
This commit is contained in:
parent
702fba1511
commit
197afb413f
42 changed files with 1899 additions and 252 deletions
|
|
@ -922,8 +922,8 @@ String_copier::well_formed_copy(CHARSET_INFO *to_cs,
|
|||
my_charset_same(from_cs, to_cs))
|
||||
{
|
||||
m_cannot_convert_error_pos= NULL;
|
||||
return to_cs->cset->copy_abort(to_cs, to, to_length, from, from_length,
|
||||
nchars, this);
|
||||
return to_cs->cset->copy_fix(to_cs, to, to_length, from, from_length,
|
||||
nchars, this);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue