marko
a47b9e64e6
branches/zip: Merge branches/fast-index-creation -r1413.
...
Fix some bugs. The tests innodb and innodb-index fail, but that might
be due to an old MySQL source tree being used.
2007-04-04 11:05:33 +00:00
marko
3a23bff39b
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
d8536b0de8
branches/zip: Make mutex_own() work with UNIV_DEBUG, without UNIV_SYNC_DEBUG.
2007-01-18 18:29:12 +00:00
marko
c712838401
branches/zip: Merge revisions 1165:1206 from trunk.
2007-01-18 12:58:39 +00:00
marko
e24afbc387
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
c1286aa47e
branches/zip: Merge revisions 887:934 from trunk.
2006-10-25 11:19:12 +00:00
marko
fde560bf96
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
6e3038b60e
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
abe2fef18f
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
82de286dc6
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
a208526186
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
9a16aac783
branches/zip: Merge revisions 804:838 from trunk.
2006-09-19 10:14:07 +00:00
marko
64f3cee67f
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
36ed778816
branches/zip: Merge revisions 634:713 from trunk.
2006-08-11 11:49:38 +00:00
marko
0260ba1f0f
branches/zip: Cleanup suggested by Osku.
...
ut_is_2pow(): New function for testing if a number is zero or a power of two.
Use this function instead of bitwise arithmetics or ut_2_power_up() where
possible.
2006-06-07 11:23:21 +00:00
marko
fefd14cbbc
branches/zip: Merge revisions 536:558 from trunk.
2006-05-11 12:47:23 +00:00
marko
cfc945a954
branches/zip: Merge revisions 465:532 from trunk.
2006-05-08 06:18:59 +00:00
marko
450bbd7c3b
branches/zip: Merge revisions 265:459 from trunk.
2006-04-12 09:32:17 +00:00
marko
82d38b63e3
branches/zip: Merge revisions 236:247 from trunk.
2006-02-27 09:33:26 +00:00
marko
f40121415d
branches/zip: Merge revisions 200:236 from trunk.
2006-02-23 19:25:29 +00:00
marko
6ce8427cb8
branches/zip: Merge revisions 79:200 from trunk.
2006-02-17 14:19:39 +00:00
marko
e12d8a0f10
branches/zip: Merge revisions 9:72 from trunk.
2005-11-29 12:30:46 +00:00
osku
c307820962
Import 5.0 code.
2005-10-27 07:29:40 +00:00