marko
8256b83f77
branches/zip: Add Valgrind instrumentation to the InnoDB memory management
...
functions.
ut_malloc_low(): Flag the block with UNIV_MEM_ALLOC(). Do not flag the
block with UNIV_MEM_FREE() in ut_free(), because it would cause bogus
Valgrind warnings in the underlying memory allocator.
mem_pool_create(): Flag the data area with UNIV_MEM_FREE().
mem_pool_fill_free_list(): Flag the area header with UNIV_MEM_ALLOC().
mem_area_alloc(): Flag the data area with UNIV_MEM_ALLOC().
mem_area_free(): Flag the data area with UNIV_MEM_FREE().
mem_heap_alloc(): Flag the buffer with UNIV_MEM_ALLOC().
mem_heap_block_free(): Flag the block with UNIV_MEM_FREE().
mem_heap_free_top(): Flag the block with UNIV_MEM_FREE().
2007-03-28 09:02:55 +00:00
marko
e81c916b27
branches/zip: mem_heap_create_block(), mem_heap_create_func():
...
Remove the unused parameter init_block.
mem_heap_fast_create(): Remove.
struct mem_block_info_struct: Remove the field init_block.
2007-01-05 20:59:40 +00:00
marko
952775dcc7
branches/zip: mem_heap_create_block(): Correct an error introduced in r909:
...
Return NULL when trying to use heap->free_block that is NULL.
2006-10-24 11:03:46 +00:00
marko
706c55927a
branches/zip: mem_heap_block_free(): Fix a bug introduced in r914
...
while trying to fix r909: invoke mem_erase_buf() before freeing the
buffer, but after interpreting block->buf_block.
2006-10-20 11:10:46 +00:00
marko
47e6669d94
branches/zip: mem_heap_block_free(): Fix a bug introduced in r909:
...
invoke mem_erase_buf() only after interpreting block->buf_block.
2006-10-13 11:50:33 +00:00
marko
bbcef45a64
branches/zip: mem_heap_create_block(): Correct an error introduced in r909:
...
When allocating a block from heap->free_block, set buf_block.
2006-10-12 12:44:46 +00:00
marko
06bb7e6ea5
branches/zip: Replace buf_frame_alloc() and buf_frame_free()
...
with buf_block_alloc() and buf_block_free(), in order to
avoid buf_block_align() calls.
2006-10-12 12:38:29 +00:00
marko
38e09b2fea
branches/zip: Merge revisions 720:765 from trunk and reindent the code
...
as per revisions r763:765.
2006-08-29 09:30:31 +00:00
marko
f4f5606fb6
branches/zip: Merge revisions 634:713 from trunk.
2006-08-11 11:49:38 +00:00
marko
e47742cbef
branches/zip: Merge revisions 536:558 from trunk.
2006-05-11 12:47:23 +00:00
marko
d30e44bc32
branches/zip: Merge revisions 465:532 from trunk.
2006-05-08 06:18:59 +00:00
marko
0c4dfda3be
branches/zip: Merge revisions 265:459 from trunk.
2006-04-12 09:32:17 +00:00
marko
747c8fad44
branches/zip: Merge revisions 200:236 from trunk.
2006-02-23 19:25:29 +00:00
marko
0bf7f4bd1d
branches/zip: Merge revisions 9:72 from trunk.
2005-11-29 12:30:46 +00:00
osku
2903c72469
Import 5.0 code.
2005-10-27 07:29:40 +00:00