| 1 |
set @save_binlog_checksum = @@global.binlog_checksum; |
| 2 |
set @save_source_verify_checksum = @@global.source_verify_checksum; |
| 3 |
set @@global.binlog_checksum = CRC32; |
| 4 |
set @@global.source_verify_checksum = 1; |
| 5 |
reset master; |
| 6 |
must be binlog.000001 |
| 7 |
show binary logs; |
| 8 |
Log_name File_size Encrypted |
| 9 |
binlog.000001 # # |
| 10 |
create table t1 (a int); |
| 11 |
flush logs; |
| 12 |
drop table t1; |
| 13 |
RESET MASTER; |
| 14 |
include/show_binlog_events.inc |
| 15 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 16 |
binlog.000001 # Query # # use `test`; create table t1 (a int) |
| 17 |
show tables; |
| 18 |
Tables_in_test |
| 19 |
t1 |
| 20 |
drop table t1; |
| 21 |
set @@global.binlog_checksum = @save_binlog_checksum; |
| 22 |
set @@global.source_verify_checksum = @save_source_verify_checksum; |
| 23 |
End of the tests |