mariadb/storage/innobase/buf
Marko Mäkelä 26d81a2a98 Bug #57707 InnoDB buf_page_t size has doubled on 32-bit systems
buf_page_t: Remove the buf_pool pointer. Add buf_pool_index:6 next to
buf_fix_count:19 (it was buf_fix_count:25). This will limit the number
of concurrent transactions to somewhere around 524,288.

buf_pool_index(buf_pool): A new function to determine the index of a
buffer pool in buf_pool_ptr[].

buf_pool_ptr: Make this a dynamically allocated array instead of an
array of pointers. Allocate the array in buf_pool_init() and free in
buf_pool_free().

buf_pool_free_instance(): No longer free the buf_pool object, as it is
allocated from a big array.

buf_pool_from_bpage(), buf_pool_from_block(): Move the definitions to
the beginning of the files, because some compilers have (had) problems
with forward definitions of inline functions. Calculate the buffer
pool from buf_pool_index.

buf_pool_from_array(): Add debug assertions for input validation.
2010-10-27 09:56:56 +03:00
..
buf0buddy.c Fix bit-rot left by the multiple buffer pools patch. 2010-10-20 14:46:28 +03:00
buf0buf.c Bug #57707 InnoDB buf_page_t size has doubled on 32-bit systems 2010-10-27 09:56:56 +03:00
buf0flu.c Fix bit-rot left by the multiple buffer pools patch. 2010-10-20 14:46:28 +03:00
buf0lru.c Fix bit-rot left by the multiple buffer pools patch. 2010-10-20 14:46:28 +03:00
buf0rea.c Merging with mysql-5.5-stage. 2010-08-16 14:50:27 +02:00