1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-6353 my_ismbchar() and my_mbcharlen() refactoring

This commit is contained in:
Alexander Barkov
2016-05-17 15:27:10 +04:00
parent 7e66a24dfb
commit e7ff281d2e
28 changed files with 118 additions and 270 deletions

View File

@ -3235,7 +3235,7 @@ int select_export::send_data(List<Item> &items)
if ((NEED_ESCAPING(*pos) ||
(check_second_byte &&
my_mbcharlen(character_set_client, (uchar) *pos) == 2 &&
((uchar) *pos) > 0x7F /* a potential MB2HEAD */ &&
pos + 1 < end &&
NEED_ESCAPING(pos[1]))) &&
/*