| 1 |
--source include/galera_cluster.inc |
| 2 |
--source include/have_innodb.inc |
| 3 |
|
| 4 |
CREATE TABLE IF NOT EXISTS t1 (f1 INTEGER) ENGINE = InnoDB; |
| 5 |
|
| 6 |
--connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1 |
| 7 |
--connection node_1a |
| 8 |
SET SESSION AUTOCOMMIT=OFF; |
| 9 |
SET SESSION wsrep_trx_fragment_size = 1; |
| 10 |
INSERT INTO t1 VALUES (161); |
| 11 |
COMMIT; |
| 12 |
DELETE FROM t1 WHERE f1 > 13; |
| 13 |
--disconnect node_1a |
| 14 |
--sleep 2 |
| 15 |
|
| 16 |
--connection node_2 |
| 17 |
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log; |
| 18 |
|
| 19 |
--connection node_1 |
| 20 |
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log; |
| 21 |
|
| 22 |
DROP TABLE t1; |
| 23 |
|
| 24 |
--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.2.err |
| 25 |
--let $assert_count = 0 |
| 26 |
--let $assert_select = BF-BF X |
| 27 |
--let $assert_text = No BF-BF log line found |
| 28 |
--let $assert_only_after = CURRENT_TEST |
| 29 |
--source include/assert_grep.inc |