| 1 |
RESET MASTER; |
| 2 |
SET SESSION GTID_NEXT= 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1'; |
| 3 |
CREATE TABLE t1 (a INT); |
| 4 |
SET SESSION GTID_NEXT= 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:2'; |
| 5 |
DROP TABLE t1; |
| 6 |
SET @@SESSION.GTID_NEXT= 'AUTOMATIC'; |
| 7 |
# run mysqlbinlog with a flag so that the OCT is not printed |
| 8 |
# to simulate a 5.7 mysqlbinlog |
| 9 |
RESET MASTER; |
| 10 |
# replay the transactions on the server |
| 11 |
include/assert.inc [The OCT is zero for GTID aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1] |
| 12 |
include/assert.inc [The OCT is zero for GTID aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:2] |