Debian Codegraph @

mysql-test/suite/binlog/r/binlog_open_errors.result

raw
1 RESET MASTER;
2 include/save_error_log_position.inc
3 Prepare binary log with header only
4 Prepare binary log without Format_desc event
5 Prepare binary log without Format_desc event
6 Backup binlog file
7
8 # 1. Test Error in Log_event::read_log_event() #
9 ################################################
10 # restart
11 RESET MASTER;
12 include/assert_error_log.inc [server: 1, pattern: Error in Log_event::read_log_event().*]
13
14 # 2. Truncated binary log
15 ##############################################################################
16 # restart
17 RESET MASTER;
18 include/assert_error_log.inc [server: 1, pattern: Error in Log_event::read_log_event().*
19 Error reading GTIDs from binary log.*
20 ]
21
22 # 3. Test Found invalid event sequence while recovering from binary log file #
23 ##############################################################################
24 # restart
25 RESET MASTER;
26 include/assert_error_log.inc [server: 1, pattern: Found invalid event sequence while recovering from binary log file.*]
27 # restart
28
29 # 4. Test check !(ev->common_header->flags & LOG_EVENT_BINLOG_IN_USE_F) #
30 #########################################################################
31 # Adding debug point 'binlog_crash_between_close_and_open' to @@GLOBAL.debug
32 FLUSH BINARY LOGS;
33 ERROR HY000: Lost connection to MySQL server during query
34 # restart
35 # Check for the "Failed to open the crashed binlog file when source server is recovering it\."
36 Pattern "\[Note\] \[[^]]*\] \[[^]]*\] Failed to open the crashed binlog file when source server is recovering it\." found