Commit 56ed8091 authored by unknown's avatar unknown
Browse files

Fixed Bug#Server crash due to 'flush status' in various tests.

parent 4e30b156
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
+3 −3
Original line number Diff line number Diff line
@@ -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