| 1 |
# ==== Purpose ==== |
| 2 |
# |
| 3 |
# Verify that the binary logging is enabled and the replication works fine |
| 4 |
# without configuring --log-bin and --relay-log options on master and salve. |
| 5 |
# |
| 6 |
# ==== Implementation ==== |
| 7 |
# |
| 8 |
# 1. Commit two transactions on master. |
| 9 |
# 2. Verify that the replication works fine without |
| 10 |
# configuring --log-bin and --relay-log options. |
| 11 |
# |
| 12 |
# ==== References ==== |
| 13 |
# |
| 14 |
# Bug #26729602 UPGRADE 5.7->8.0.3: REPLICATION MAY NOT START DUE TO INDEX FILE NEW DEFAULT NAME |
| 15 |
|
| 16 |
# Test in this file only makes sense in standard replication, |
| 17 |
# so it is skipped in group replication. |
| 18 |
--source include/not_group_replication_plugin.inc |
| 19 |
|
| 20 |
# Test in this file is binlog format agnostic, thus no need |
| 21 |
# to rerun it for every format. |
| 22 |
--source include/have_binlog_format_row.inc |
| 23 |
--source include/master-slave.inc |
| 24 |
|
| 25 |
CREATE TABLE t1 (c1 INT); |
| 26 |
INSERT INTO t1 VALUES (1); |
| 27 |
|
| 28 |
--source include/sync_slave_sql_with_master.inc |
| 29 |
# Verify that the replication works well without configuring --log-bin |
| 30 |
# and --relay-log options. |
| 31 |
--let $diff_tables=master:t1,slave:t1 |
| 32 |
--source include/diff_tables.inc |
| 33 |
|
| 34 |
# Cleanup |
| 35 |
--source include/rpl_connection_master.inc |
| 36 |
DROP TABLE t1; |
| 37 |
--source include/rpl_end.inc |