mariadb/rem
marko 4bf90e5355 branches/zip: Reduce internal memory fragmentation.
mem_alloc2(): New macro.  This is a variant of mem_alloc() that
returns the allocated size, which is equal to or greater than
the requested size.

mem_alloc_func(): Add the output parameter *size for the allocated size.
When it is set, adjust the parameter passed to mem_heap_alloc().

rec_copy_prefix_to_buf_old(), rec_copy_prefix_to_buf(): Use mem_alloc2()
instead of mem_alloc().
2007-09-21 12:45:46 +00:00
..
rem0cmp.c branches/zip: cmp_rec_rec_simple(): Compare n_uniq columns instead of 2007-09-19 11:31:00 +00:00
rem0rec.c branches/zip: Reduce internal memory fragmentation. 2007-09-21 12:45:46 +00:00