• Michael Widenius's avatar
    Safety fix for Aria: · fcd3f2cd
    Michael Widenius authored
    - Set lastinx= ~0 when last_key.keyinfo is set.
    
    
    storage/maria/ma_check.c:
      Set lastinx= ~0 when last_key.keyinfo is set
    storage/maria/ma_ft_boolean_search.c:
      Set lastinx= ~0 when last_key.keyinfo is set
    storage/maria/ma_rt_index.c:
      Remove setting of info->lastkey.keyinfo, as this should already be set by caller
    storage/maria/ma_search.c:
      Added ASSERT to ensure that info->last_key.keyinfo is properly set
    storage/maria/ma_unique.c:
       Set lastinx= ~0 when last_key.keyinfo is set
    fcd3f2cd
ma_search.c 71 KB