mysql-test/suite/binlog/t/backup.test
raw| 1 | --source include/have_log_bin.inc |
| 2 | --source include/have_binlog_format_mixed.inc |
| 3 | |
| 4 | --echo # |
| 5 | --echo # Test BACKUP STAGES BLOCK_COMMIT with binary logging on |
| 6 | --echo # |
| 7 | |
| 8 | SET BINLOG_FORMAT=MIXED; |
| 9 | RESET MASTER; |
| 10 | |
| 11 | create table t1 (a int) engine=aria; |
| 12 | insert into t1 values (1); |
| 13 | |
| 14 | BACKUP STAGE START; |
| 15 | BACKUP STAGE BLOCK_COMMIT; |
| 16 | SELECT @@gtid_binlog_pos; |
| 17 | BACKUP STAGE END; |
| 18 | source include/show_binlog_events.inc; |
| 19 | drop table t1; |