--source include/galera_cluster.inc --source include/have_innodb.inc # # Test ALTER ENGINE from MyISAM to InnoDB under wsrep_replicate_myisam # --let $wsrep_replicate_myisam_orig = `SELECT @@wsrep_replicate_myisam` SET GLOBAL wsrep_replicate_myisam = TRUE; CREATE TABLE t1 (f1 INTEGER) ENGINE=MyISAM; INSERT INTO t1 VALUES (1); ALTER TABLE t1 ENGINE=InnoDB; --connection node_2 SELECT ENGINE = 'InnoDB' FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 't1'; SELECT COUNT(*) = 1 FROM t1; --connection node_1 --disable_query_log --eval SET GLOBAL wsrep_replicate_myisam = $wsrep_replicate_myisam_orig --enable_query_log DROP TABLE t1;