• Monty's avatar
    Fixed bug in cache: · 0463e1f7
    Monty authored
    - The THR_LOCK org_lock must be stored in a shared structure so that all
      instances of a table can use it. Fixed by adding a ha_cache_share object
      that keeps track of this one.
    - Fixed wrong test in get_status_and_flush_cache to detect in insert command
    - Fixed in get_status_and_flush_cache that we always free the insert lock
      if we don't need it.
    0463e1f7
ha_cache.cc 19.5 KB