GIF89a; Mini Shell

Mini Shell

Direktori : /usr/share/mysql-test/suite/binlog/r/
Upload File :
Current File : //usr/share/mysql-test/suite/binlog/r/binlog_gtid_simple_recovery.result

include/rpl_init.inc [topology=none]
include/rpl_default_connections.inc
CREATE TABLE t1 (
c1 INT NOT NULL PRIMARY KEY
);
# Generate master-bin.000002
FLUSH LOGS;
INSERT INTO t1 VALUES (1);
# Generate master-bin.000003
FLUSH LOGS;
INSERT INTO t1 VALUES (2);
# Generate master-bin.000004
FLUSH LOGS;
INSERT INTO t1 VALUES (3);
# Move master-bin.000002 to master-bin.000002.bkp and
# master-bin.000003 to master-bin.000003.bkp
#
# Only master-bin.000001 and master-bin.000004 remain, others are moved
# , restart the server with enabled binlog-gtid-simple-recovery
# and gtid_mode on. If the server scans more than one binary log in
# every iteration, it will cause read error on the 2nd and 3rd files.
#
include/rpl_restart_server.inc [server_number=1 parameters: --binlog-gtid-simple-recovery=on --gtid-mode=on --enforce-gtid-consistency --log-slave-updates]
#
# Verify that GLOBAL.GTID_EXECUTED and GLOBAL.GTID_PURGED are empty
# after server restarts.
#
include/assert.inc [GLOBAL.GTID_EXECUTED must be empty.]
include/assert.inc [GLOBAL.GTID_PURGED must be empty.]
DROP TABLE t1;
# Move master-bin.000004 to master-bin.000004.bkp
#
# Only master-bin.000001 and master-bin.000005 remain, others are moved
# , restart the server with enabled binlog-gtid-simple-recovery
# and gtid_mode on again. If the server scans more than one binary
# log in every iteration, it will cause read error on the 2nd and
# 4th files.
#
include/rpl_restart_server.inc [server_number=1 parameters: --binlog-gtid-simple-recovery=on --gtid-mode=on --enforce-gtid-consistency --log-slave-updates]
#
# Verify that GLOBAL.GTID_EXECUTED contains committed gtid MASTER_UUID:1
# and GLOBAL.GTID_PURGED is empty after server restarts again.
#
include/assert.inc [committed gtid MASTER_UUID:1]
include/assert.inc [GLOBAL.GTID_PURGED is empty]
# Move binary logs back.
include/rpl_end.inc

./BlackJoker Mini Shell 1.0