• marko's avatar
    branches/zip: Protect ut_total_allocated_memory with ut_list_mutex. · 732f9dd7
    marko authored
    Unprotected updates to ut_total_allocated_memory in
    os_mem_alloc_large() and os_mem_free_large(), called during
    fast index creation, may corrupt the variable and cause assertion failures.
    
    Also, add UNIV_MEM_ALLOC() and UNIV_MEM_FREE() instrumentation around
    os_mem_alloc_large() and os_mem_free_large(), so that Valgrind can
    detect more errors.
    
    rb://90 approved by Heikki Tuuri.  This addresses Issue #177.
    732f9dd7
To find the state of this project's repository at the time of any of these versions, check out the tags.
ChangeLog 25.9 KB