• Sergei Golubchik's avatar
    Fix code in make_sortkey() that only worked by chance · 9e135ce1
    Sergei Golubchik authored
    (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.
    9e135ce1
filesort.cc 54.1 KB