mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
sync0sync.c Do not use in-line assembly in GCC
srv0start.c Eliminate a deadlock of threads at startup row0mysql.c Several bug fixes row0umod.c Several bug fixes row0upd.c Several bug fixes os0file.c Revert back to fsync as default flush method log0recv.c Several bug fixes ibuf0ibuf.c Several bug fixes fsp0fsp.c Several bug fixes trx0undo.c Put some assertions to uncover possible bugs dict0boot.c Several bug fixes innobase/dict/dict0boot.c: Several bug fixes innobase/trx/trx0undo.c: Put some assertions to uncover possible bugs innobase/fsp/fsp0fsp.c: Several bug fixes innobase/ibuf/ibuf0ibuf.c: Several bug fixes innobase/log/log0recv.c: Several bug fixes innobase/os/os0file.c: Revert back to fsync as default flush method innobase/row/row0mysql.c: Several bug fixes innobase/row/row0umod.c: Several bug fixes innobase/row/row0upd.c: Several bug fixes innobase/srv/srv0start.c: Eliminate a deadlock of threads at startup innobase/sync/sync0sync.c: Do not use in-line assembly in GCC
This commit is contained in:
parent
ecb14493f2
commit
5b6c96202b
11 changed files with 153 additions and 21 deletions
|
|
@ -1382,6 +1382,9 @@ ibuf_remove_free_page(
|
|||
|
||||
fseg_free_page(header_page + IBUF_HEADER + IBUF_TREE_SEG_HEADER,
|
||||
space, page_no, &mtr);
|
||||
#ifdef UNIV_DEBUG_FILE_ACCESSES
|
||||
buf_page_reset_file_page_was_freed(space, page_no);
|
||||
#endif
|
||||
ibuf_enter();
|
||||
|
||||
mutex_enter(&ibuf_mutex);
|
||||
|
|
@ -1413,6 +1416,9 @@ ibuf_remove_free_page(
|
|||
|
||||
ibuf_bitmap_page_set_bits(bitmap_page, page_no, IBUF_BITMAP_IBUF,
|
||||
FALSE, &mtr);
|
||||
#ifdef UNIV_DEBUG_FILE_ACCESSES
|
||||
buf_page_set_file_page_was_freed(space, page_no);
|
||||
#endif
|
||||
mtr_commit(&mtr);
|
||||
|
||||
mutex_exit(&ibuf_mutex);
|
||||
|
|
@ -2431,6 +2437,8 @@ ibuf_merge_or_delete_for_page(
|
|||
|
||||
block = buf_block_align(page);
|
||||
rw_lock_x_lock_move_ownership(&(block->lock));
|
||||
|
||||
ut_a(fil_page_get_type(page) == FIL_PAGE_INDEX);
|
||||
}
|
||||
|
||||
n_inserts = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue