Fix code in make_sortkey() that only worked by chance
(assert added by MySQL verified that strnxfrm can only *increase* the string length if from == to, and the latter is a random decision made by individual items and String::realloc). Fix it by avoiding the memcpy in the first place.
Showing
Please register or sign in to comment