| 1 |
# |
| 2 |
# Test that the basic MyISAM replication works even with SR enabled |
| 3 |
# We basically check that the data arrived on the slave and that there |
| 4 |
# were no assertions. |
| 5 |
# |
| 6 |
|
| 7 |
--source include/galera_cluster.inc |
| 8 |
--source include/have_innodb.inc |
| 9 |
|
| 10 |
--connection node_1 |
| 11 |
CREATE TABLE t1 (f1 TEXT) ENGINE=MyISAM; |
| 12 |
|
| 13 |
SET SESSION wsrep_trx_fragment_size = 1; |
| 14 |
SET GLOBAL wsrep_mode = REPLICATE_MYISAM; |
| 15 |
|
| 16 |
INSERT INTO t1 VALUES (REPEAT('x', 65535)); |
| 17 |
|
| 18 |
--connection node_2 |
| 19 |
SELECT COUNT(*) AS EXPECT_1 FROM t1; |
| 20 |
SELECT LENGTH(f1) = 65535 FROM t1; |
| 21 |
|
| 22 |
DROP TABLE t1; |
| 23 |
|
| 24 |
--connection node_1 |
| 25 |
SET GLOBAL wsrep_mode = DEFAULT; |