Commit 6eccf8b8 authored by Sergei Golubchik's avatar Sergei Golubchik

Make Tc_log_page_size status variable use SHOW_LONG_NOFLUSH.

Otherwise XA crashes after FLUSH STATUS as log page size suddenly becomes 0.
parent a2478a6c
......@@ -6989,7 +6989,7 @@ SHOW_VAR status_vars[]= {
{"Table_locks_waited", (char*) &locks_waited, SHOW_LONG},
#ifdef HAVE_MMAP
{"Tc_log_max_pages_used", (char*) &tc_log_max_pages_used, SHOW_LONG},
{"Tc_log_page_size", (char*) &tc_log_page_size, SHOW_LONG},
{"Tc_log_page_size", (char*) &tc_log_page_size, SHOW_LONG_NOFLUSH},
{"Tc_log_page_waits", (char*) &tc_log_page_waits, SHOW_LONG},
#endif
#ifdef HAVE_POOL_OF_THREADS
......
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