• Michael Widenius's avatar
    Safety fix for Aria: · fe37e5dc
    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
    fe37e5dc
ma_rt_index.c 37.3 KB