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