Commit 8682dffc authored by ramil@mysql.com's avatar ramil@mysql.com

memcpy_overlap() replaced with memmove() during the merging.

parent 2ffbe011
...@@ -498,7 +498,7 @@ static uint thai2sortable(uchar *tstr, uint len) ...@@ -498,7 +498,7 @@ static uint thai2sortable(uchar *tstr, uint len)
l2bias use to control position weight of l2char l2bias use to control position weight of l2char
example (*=l2char) XX*X must come before X*XX example (*=l2char) XX*X must come before X*XX
*/ */
memcpy_overlap((char*) p, (char*) (p+1), tlen-1); memmove((char*) p, (char*) (p+1), tlen-1);
tstr[len-1]= l2bias + t_ctype0[1]- L2_GARAN +1; tstr[len-1]= l2bias + t_ctype0[1]- L2_GARAN +1;
p--; p--;
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment