1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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

@ -184,7 +184,7 @@ static bool set_one_value(ha_create_table_option *opt,
{
for (end=start;
*end && *end != ',';
end+= my_mbcharlen(system_charset_info, *end)) /* no-op */;
end++) /* no-op */;
if (!my_strnncoll(system_charset_info,
(uchar*)start, end-start,
(uchar*)value->str, value->length))