| 1 |
# |
| 2 |
# Test BACKUP STAGES BLOCK_COMMIT with binary logging on |
| 3 |
# |
| 4 |
SET BINLOG_FORMAT=MIXED; |
| 5 |
RESET MASTER; |
| 6 |
create table t1 (a int) engine=aria; |
| 7 |
insert into t1 values (1); |
| 8 |
BACKUP STAGE START; |
| 9 |
BACKUP STAGE BLOCK_COMMIT; |
| 10 |
SELECT @@gtid_binlog_pos; |
| 11 |
@@gtid_binlog_pos |
| 12 |
0-1-2 |
| 13 |
BACKUP STAGE END; |
| 14 |
include/show_binlog_events.inc |
| 15 |
Log_name Pos Event_type Server_id End_log_pos Info |
| 16 |
master-bin.000001 # Gtid # # GTID #-#-# |
| 17 |
master-bin.000001 # Query # # use `test`; create table t1 (a int) engine=aria |
| 18 |
master-bin.000001 # Gtid # # BEGIN GTID #-#-# |
| 19 |
master-bin.000001 # Query # # use `test`; insert into t1 values (1) |
| 20 |
master-bin.000001 # Query # # COMMIT |
| 21 |
drop table t1; |