Loading innobase/buf/buf0buf.c +2 −0 Original line number Diff line number Diff line Loading @@ -2260,6 +2260,7 @@ buf_print(void) ut_a(buf_validate()); } #ifdef UNIV_DEBUG /************************************************************************* Returns the number of latched pages in the buffer pool. */ Loading Loading @@ -2290,6 +2291,7 @@ buf_get_latched_pages_number(void) mutex_exit(&(buf_pool->mutex)); return fixed_pages_number; } #endif /* UNIV_DEBUG */ /************************************************************************* Returns the number of pending buf pool ios. */ Loading innobase/dict/dict0dict.c +1 −1 Original line number Diff line number Diff line Loading @@ -3554,7 +3554,7 @@ dict_foreign_parse_drop_constraints( ptr = dict_accept(ptr, "FOREIGN", &success); if (!success) { if (!success || !ib_isspace(*ptr)) { goto loop; } Loading innobase/include/buf0buf.h +8 −5 Original line number Diff line number Diff line Loading @@ -495,7 +495,15 @@ Prints info of the buffer pool data structure. */ void buf_print(void); /*============*/ /************************************************************************* Returns the number of latched pages in the buffer pool. */ ulint buf_get_latched_pages_number(void); /*==============================*/ #endif /* UNIV_DEBUG */ /************************************************************************ Prints a page to stderr. */ Loading @@ -503,12 +511,7 @@ void buf_page_print( /*===========*/ byte* read_buf); /* in: a database page */ /************************************************************************* Returns the number of latched pages in the buffer pool. */ ulint buf_get_latched_pages_number(void); /*==============================*/ /************************************************************************* Returns the number of pending buf pool ios. */ Loading innobase/include/srv0srv.h +2 −0 Original line number Diff line number Diff line Loading @@ -531,7 +531,9 @@ struct export_var_struct{ ulint innodb_buffer_pool_pages_dirty; ulint innodb_buffer_pool_pages_misc; ulint innodb_buffer_pool_pages_free; #ifdef UNIV_DEBUG ulint innodb_buffer_pool_pages_latched; #endif /* UNIV_DEBUG */ ulint innodb_buffer_pool_read_requests; ulint innodb_buffer_pool_reads; ulint innodb_buffer_pool_wait_free; Loading innobase/include/trx0undo.h +1 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,7 @@ trx_undo_set_state_at_finish( /*=========================*/ /* out: undo log segment header page, x-latched */ trx_rseg_t* rseg, /* in: rollback segment memory object */ trx_t* trx, /* in: transaction */ trx_undo_t* undo, /* in: undo log memory copy */ mtr_t* mtr); /* in: mtr */ Loading Loading
innobase/buf/buf0buf.c +2 −0 Original line number Diff line number Diff line Loading @@ -2260,6 +2260,7 @@ buf_print(void) ut_a(buf_validate()); } #ifdef UNIV_DEBUG /************************************************************************* Returns the number of latched pages in the buffer pool. */ Loading Loading @@ -2290,6 +2291,7 @@ buf_get_latched_pages_number(void) mutex_exit(&(buf_pool->mutex)); return fixed_pages_number; } #endif /* UNIV_DEBUG */ /************************************************************************* Returns the number of pending buf pool ios. */ Loading
innobase/dict/dict0dict.c +1 −1 Original line number Diff line number Diff line Loading @@ -3554,7 +3554,7 @@ dict_foreign_parse_drop_constraints( ptr = dict_accept(ptr, "FOREIGN", &success); if (!success) { if (!success || !ib_isspace(*ptr)) { goto loop; } Loading
innobase/include/buf0buf.h +8 −5 Original line number Diff line number Diff line Loading @@ -495,7 +495,15 @@ Prints info of the buffer pool data structure. */ void buf_print(void); /*============*/ /************************************************************************* Returns the number of latched pages in the buffer pool. */ ulint buf_get_latched_pages_number(void); /*==============================*/ #endif /* UNIV_DEBUG */ /************************************************************************ Prints a page to stderr. */ Loading @@ -503,12 +511,7 @@ void buf_page_print( /*===========*/ byte* read_buf); /* in: a database page */ /************************************************************************* Returns the number of latched pages in the buffer pool. */ ulint buf_get_latched_pages_number(void); /*==============================*/ /************************************************************************* Returns the number of pending buf pool ios. */ Loading
innobase/include/srv0srv.h +2 −0 Original line number Diff line number Diff line Loading @@ -531,7 +531,9 @@ struct export_var_struct{ ulint innodb_buffer_pool_pages_dirty; ulint innodb_buffer_pool_pages_misc; ulint innodb_buffer_pool_pages_free; #ifdef UNIV_DEBUG ulint innodb_buffer_pool_pages_latched; #endif /* UNIV_DEBUG */ ulint innodb_buffer_pool_read_requests; ulint innodb_buffer_pool_reads; ulint innodb_buffer_pool_wait_free; Loading
innobase/include/trx0undo.h +1 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,7 @@ trx_undo_set_state_at_finish( /*=========================*/ /* out: undo log segment header page, x-latched */ trx_rseg_t* rseg, /* in: rollback segment memory object */ trx_t* trx, /* in: transaction */ trx_undo_t* undo, /* in: undo log memory copy */ mtr_t* mtr); /* in: mtr */ Loading