Fixed Bug#Server crash due to 'flush status' in various tests.
This commit is contained in:
parent
ffc92eb2c3
commit
ebce51950a
@ -2457,8 +2457,8 @@ void sql_print_information(const char *format, ...)
|
|||||||
static const char tc_log_magic[]={254, 0x23, 0x05, 0x74};
|
static const char tc_log_magic[]={254, 0x23, 0x05, 0x74};
|
||||||
|
|
||||||
uint opt_tc_log_size=TC_LOG_MIN_SIZE;
|
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;
|
tc_log_page_waits=0, tc_log_cur_pages_used=0;
|
||||||
|
|
||||||
int TC_LOG_MMAP::open(const char *opt_name)
|
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_PAGE_SIZE 8192
|
||||||
#define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE)
|
#define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE)
|
||||||
extern uint opt_tc_log_size;
|
extern uint opt_tc_log_size;
|
||||||
extern uint tc_log_max_pages_used;
|
extern ulong tc_log_max_pages_used;
|
||||||
extern uint tc_log_page_size;
|
extern ulong tc_log_page_size;
|
||||||
extern uint tc_log_page_waits;
|
extern ulong tc_log_page_waits;
|
||||||
|
|
||||||
#define TC_HEURISTIC_RECOVER_COMMIT 1
|
#define TC_HEURISTIC_RECOVER_COMMIT 1
|
||||||
#define TC_HEURISTIC_RECOVER_ROLLBACK 2
|
#define TC_HEURISTIC_RECOVER_ROLLBACK 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user