• Sergei Golubchik's avatar
    Optimize use of SEARCH_SAVE_BUFF in Aria · 4106db3e
    Sergei Golubchik authored
    (less not-needed copies of key pages)
    
    storage/maria/ma_rkey.c:
      Fixed wrong test if SEARCH_SAVE_BUFF should be set.
      Now we assume that if we are doing HA_READ_KEY_EXACT,
      we don't have to copy the last key buffer
      (in other words, it's not likely this will be followed
      by a read-next call)
    4106db3e
ma_rkey.c 7.12 KB