mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
Fixed Bug#Server crash due to 'flush status' in various tests.
This commit is contained in:
parent
4e30b1568d
commit
56ed8091dd
2 changed files with 5 additions and 5 deletions
|
|
@ -2457,7 +2457,7 @@ void sql_print_information(const char *format, ...)
|
|||
static const char tc_log_magic[]={254, 0x23, 0x05, 0x74};
|
||||
|
||||
uint opt_tc_log_size=TC_LOG_MIN_SIZE;
|
||||
uint tc_log_max_pages_used=0, tc_log_page_size=0,
|
||||
ulong tc_log_max_pages_used=0, tc_log_page_size=0,
|
||||
tc_log_page_waits=0, tc_log_cur_pages_used=0;
|
||||
|
||||
int TC_LOG_MMAP::open(const char *opt_name)
|
||||
|
|
|
|||
|
|
@ -46,9 +46,9 @@ extern const char **errmesg;
|
|||
#define TC_LOG_PAGE_SIZE 8192
|
||||
#define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE)
|
||||
extern uint opt_tc_log_size;
|
||||
extern uint tc_log_max_pages_used;
|
||||
extern uint tc_log_page_size;
|
||||
extern uint tc_log_page_waits;
|
||||
extern ulong tc_log_max_pages_used;
|
||||
extern ulong tc_log_page_size;
|
||||
extern ulong tc_log_page_waits;
|
||||
|
||||
#define TC_HEURISTIC_RECOVER_COMMIT 1
|
||||
#define TC_HEURISTIC_RECOVER_ROLLBACK 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue