- 05 Dec, 2006 1 commit
-
-
marko authored
-
- 04 Dec, 2006 3 commits
-
-
marko authored
buf_LRU_block_remove_hashed_page() changes the state of the block. This error was introduced in r1090.
-
marko authored
to free_or_flush_list. The list node pointers can be shared, because a block can never be belong to both lists at the same time.
-
marko authored
as the field will be read without mutex protection in buf_page_io_complete().
-
- 30 Nov, 2006 9 commits
-
-
marko authored
-
marko authored
(state == BUF_BLOCK_ZIP_PAGE). Make use of buf_page_in_file() and buf_page_get_mutex(). buf_block_get_newest_modification(): Rename to buf_page_get_newest_modification().
-
marko authored
Add m_nonempty for facilitating the test in page_zip_alloc(). This reduces the combined size of the bit-fields to 32 bits. Thus, sizeof(page_zip_des_t) == 2 machine words on 32-bit and wider systems.
-
marko authored
LRU_position and possibly freed_page_clock. All these fields are protected by buf_pool->mutex rather than buf_page_get_mutex(). buf_page_set_accessed(): Add a mutex_own() assertion.
-
marko authored
on a NULL pointer. This error was introduced in r1082.
-
marko authored
of the buffer pool from buf_block_t to buf_page_t. Replace some buf_block_t* parameters with buf_page_t*. Add accessor functions.
-
marko authored
decompression from page_zip_des_t to buf_page_t, because the fields needed in compression are modified without holding the block mutex. All writes to bit-fields sharing a machine word must be protected by the same mutex or rw-lock.
-
marko authored
buf_block_buf_fix_inc_func() to eliminate an #ifdef in every invocation.
-
marko authored
to ut_uint64_align_down() and ut_uint64_align_up(), to reflect the rename of ib_ulonglong to ib_uint64_t in r1085.
-
- 29 Nov, 2006 2 commits
- 28 Nov, 2006 3 commits
- 27 Nov, 2006 2 commits
- 24 Nov, 2006 6 commits
-
-
marko authored
for log sequence numbers, to replace dulint.
-
marko authored
buf_block_get_state(). buf_block_init(), buf_page_init_for_backup_restore(): Assign block->page.zip.state after invoking page_zip_des_init(&block->page).
-
marko authored
introduced in r1057 are of the int type.
-
marko authored
which should have been replaced in r1057.
-
marko authored
threshold.
-
marko authored
and uncompressed buffer pool pages. buf_block_t: Replace page_zip, space, and offset with buf_page_t page. Replace some integers with bit-fields. enum buf_block_state: Rename to buf_page_state. Add BUF_BLOCK_ZIP_PAGE. page_zip_des_t: Add the field "state". Make the integer fields bit-fields. page_zip_copy(): Document which fields are copied.
-
- 23 Nov, 2006 5 commits
-
-
marko authored
buf_block_state_valid(): New macro for replacing the magic_n check
-
marko authored
BUF_BLOCK_READY_FOR_USE to BUF_BLOCK_NOT_USED.
-
marko authored
buf_block_get_space(), buf_block_get_page_no(): Remove ut_ad(block->buf_fix_count > 0), because since r1052 these functions are also used in low-level code.
-
marko authored
buf_block_set_state(): New function. Also checks the state transitions. buf_block_set_file_page(): New function.
-
marko authored
and block->space with buf_block_get_state(block), buf_block_get_page_no(block), and buf_block_get_space(block). enum buf_block_state: Replaces the #define'd buf_block_t.state values. buf_block_get_state(): New function. buf_block_get_frame(): Add __attribute__((const)).
-
- 22 Nov, 2006 1 commit
-
-
marko authored
buf0buf.ic: Remove the extern declaration of buf_dbg_counter. It was declared static in buf0buf.c in r1025. ha0ha.c: #include "btr0sea.h" #ifdef UNIV_SYNC_DEBUG. Assertions on btr_search_latch were added in r1041.
-
- 21 Nov, 2006 4 commits
-
-
marko authored
buf_pool_page_hash_rebuild(): New function.
-
marko authored
hash index, because it might occupy the chunk we would like to free. TODO: In btr_search_check_free_space_in_heap(), release the block if btr_search_latch is not immediately available. buf_pool_shrink(): Split from buf_pool_resize(). btr_search_disabled: New variable, similar to srv_use_adaptive_hash_indexes that was removed earlier. btr_search_disable(): New function: disable and purge the adaptive hash index. btr_search_enable(): New function: enable the adaptive hash index. ha_clear(): New function: Empty a hash table and free the memory heaps.
-
marko authored
function to ha_node_set_data_func(). In this way, the #ifdef in the callers can be removed.
-
marko authored
SHOW MUTEX STATUS in non-debug builds. (Bug #24386)
-
- 16 Nov, 2006 4 commits
-
-
marko authored
assume that non-file pages are free. After trying to free or flush file pages, do not proceed to buf_chunk_free(), because the calls will temporarily release buf_pool->mutex. Do not flush if there are non-free blocks, because it would not achieve anything.
-
marko authored
-
marko authored
enclose buf_validate() and friends in it.
-
marko authored
enclose all related debug code in #ifdef UNIV_DEBUG_FILE_ACCESSES. This should have no effect on the behaviour, as the symbol is not defined by default. It only reduces the size of buf_block_t and removes some assignments and debug functions.
-