| 1 |
RESET MASTER; |
| 2 |
# |
| 3 |
# 1. Add some data to be present in the binlog and flush it. |
| 4 |
CREATE TABLE t1 (c01 BIT); |
| 5 |
INSERT INTO t1 VALUES (0); |
| 6 |
INSERT INTO t1 VALUES (1); |
| 7 |
DROP TABLE t1; |
| 8 |
FLUSH LOGS; |
| 9 |
# |
| 10 |
# 2. Execute mysqlbinlog without --require_row_format |
| 11 |
# @@SESSION.REQUIRE_ROW_FORMAT is not set |
| 12 |
# @@session.pseudo_thread_id is set |
| 13 |
include/mysqlbinlog.inc |
| 14 |
include/assert_grep.inc [There is no session.require_row_format being set] |
| 15 |
include/assert_grep.inc [There are occurrences of session.pseudo_thread_id being set] |
| 16 |
# |
| 17 |
# 3. Execute mysqlbinlog with --require_row_format |
| 18 |
# @@SESSION.REQUIRE_ROW_FORMAT is set |
| 19 |
# @@session.pseudo_thread_id is not set |
| 20 |
include/mysqlbinlog.inc |
| 21 |
include/assert_grep.inc [Session.require_row_format is being set] |
| 22 |
include/assert_grep.inc [There are no occurrences of session.pseudo_thread_id being set] |
| 23 |
# |
| 24 |
# 4. Cleanup |