mariadb/os
marko 732f9dd7fb branches/zip: Protect ut_total_allocated_memory with ut_list_mutex.
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.
2009-02-18 15:25:45 +00:00
..
os0file.c branches/zip: 2009-02-17 09:53:58 +00:00
os0proc.c branches/zip: Protect ut_total_allocated_memory with ut_list_mutex. 2009-02-18 15:25:45 +00:00
os0sync.c branches/zip: 2009-02-17 09:53:58 +00:00
os0thread.c branches/zip: 2009-02-17 09:53:58 +00:00