1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

More tests for "MDEV-7563 Support CHECK constraint".

Testing non-ASCII string literals.
This commit is contained in:
Alexander Barkov
2016-06-24 23:57:27 +02:00
committed by Sergei Golubchik
parent 11debf698f
commit 3f32bf627f
9 changed files with 158 additions and 29 deletions

View File

@ -11774,7 +11774,6 @@ static bool parse_com_change_user_packet(MPVIO_EXT *mpvio, uint packet_length)
{
if (thd_init_client_charset(thd, uint2korr(next_field)))
DBUG_RETURN(1);
thd->update_charset();
next_field+= 2;
}
@ -11940,7 +11939,6 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio,
DBUG_PRINT("info", ("client_character_set: %d", (uint) net->read_pos[8]));
if (thd_init_client_charset(thd, (uint) net->read_pos[8]))
return packet_error;
thd->update_charset();
end= (char*) net->read_pos+32;
}
else