Commit 8d4c0dbc authored by Sunny Bains's avatar Sunny Bains

Fix Bug#52983.

parent e579d2ec
...@@ -2067,7 +2067,8 @@ srv_export_innodb_status(void) ...@@ -2067,7 +2067,8 @@ srv_export_innodb_status(void)
#endif /* UNIV_DEBUG */ #endif /* UNIV_DEBUG */
export_vars.innodb_buffer_pool_pages_total = buf_pool_get_n_pages(); export_vars.innodb_buffer_pool_pages_total = buf_pool_get_n_pages();
export_vars.innodb_buffer_pool_pages_misc = buf_pool_get_curr_size(); export_vars.innodb_buffer_pool_pages_misc
= buf_pool_get_n_pages() - LRU_len - free_len
#ifdef HAVE_ATOMIC_BUILTINS #ifdef HAVE_ATOMIC_BUILTINS
export_vars.innodb_have_atomic_builtins = 1; export_vars.innodb_have_atomic_builtins = 1;
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment