| 1 |
# TC.1 `BINLOG` + `Format_description` event inside an active transaction |
| 2 |
# ----------------------------------------------------------------------- |
| 3 |
BEGIN; |
| 4 |
BINLOG |
| 5 |
'3cTpWw8BAAAAeAAAAHwAAAABAAQAOC4wLjE0LWRlYnVnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| 6 |
AAAAAAAAAAAAAAAAAADdxOlbEwANAAgAAAAABAAEAAAAYAAEGggAAAAICAgCAAAACgoKKioAEjQA |
| 7 |
CgEyBOzV'; |
| 8 |
ERROR HY000: The system variable gtid_next cannot be set when there is an ongoing transaction. |
| 9 |
COMMIT; |
| 10 |
# TC.2 `BINLOG` + `Format_description` event with no active transaction |
| 11 |
# --------------------------------------------------------------------- |
| 12 |
BINLOG |
| 13 |
'3cTpWw8BAAAAeAAAAHwAAAABAAQAOC4wLjE0LWRlYnVnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| 14 |
AAAAAAAAAAAAAAAAAADdxOlbEwANAAgAAAAABAAEAAAAYAAEGggAAAAICAgCAAAACgoKKioAEjQA |
| 15 |
CgEyBOzV'; |
| 16 |
include/assert.inc [Value of `GTID_NEXT` is `NOT_YET_DETERMINED`] |
| 17 |
# TC.3 `GTID_NEXT` = 'NOT_YET_DETERMINED' and try to execute a statement |
| 18 |
# ---------------------------------------------------------------------- |
| 19 |
CREATE TABLE t1 (col1 INT); |
| 20 |
include/assert.inc [Value of `GTID_NEXT` is `ANONYMOUS`] |
| 21 |
# Clean up. |
| 22 |
SET @@GTID_NEXT = "AUTOMATIC"; |
| 23 |
DROP TABLE t1; |