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

"like" did not work in some cases with character set big5

This commit is contained in:
bar@bar.intranet.mysql.r18.ru
2003-12-24 16:59:48 +04:00
parent 10f0bf3507
commit b15ea37fc7
5 changed files with 35 additions and 1 deletions

View File

@ -377,7 +377,7 @@ static my_bool my_like_range_big5(CHARSET_INFO *cs __attribute__((unused)),
*min_length= (uint) (min_str-min_org);
*max_length= res_length;
do {
*min_str++ = '\0'; /* Because if key compression */
*min_str++ = ' '; /* Because if key compression */
*max_str++ = max_sort_char;
} while (min_str != min_end);
return 0;