1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Simple charsets now have strncoll() field too

This commit is contained in:
bar@bar.mysql.r18.ru
2002-10-09 15:40:57 +05:00
parent 40c0fd1c6c
commit 954a47b95a
16 changed files with 118 additions and 91 deletions

View File

@ -978,7 +978,7 @@ get_mm_leaf(PARAM *param, Field *field, KEY_PART *key_part,
{
CHARSET_INFO *charset=((Field_str*)(field))->charset();
#ifdef USE_STRCOLL
if (use_strcoll(charset))
if (use_strnxfrm(charset))
like_error= my_like_range(charset,
res->ptr(),res->length(),wild_prefix,
field_length, min_str+maybe_null,