summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/r
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2020-02-14 08:20:52 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2020-02-21 08:27:31 +0200
commit17e1848b663589dd00ef971826d9150b8673b4d7 (patch)
tree2474b96ffed460994e215ff8d4b89b9c02f9246f /mysql-test/suite/galera/r
parentd872cd6e4acd4d79a6270f05ce2bb57db7a57c72 (diff)
downloadmariadb-git-17e1848b663589dd00ef971826d9150b8673b4d7.tar.gz
Fix Galera test galera_as_slave_ctas.
Diffstat (limited to 'mysql-test/suite/galera/r')
-rw-r--r--mysql-test/suite/galera/r/galera_as_slave_ctas.result26
1 files changed, 14 insertions, 12 deletions
diff --git a/mysql-test/suite/galera/r/galera_as_slave_ctas.result b/mysql-test/suite/galera/r/galera_as_slave_ctas.result
index 16df71b744f..a3d28ce42aa 100644
--- a/mysql-test/suite/galera/r/galera_as_slave_ctas.result
+++ b/mysql-test/suite/galera/r/galera_as_slave_ctas.result
@@ -1,29 +1,31 @@
-connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
+connection node_2;
+connection node_1;
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
-connection node_2a;
+SELECT @@wsrep_on;
+@@wsrep_on
+0
+connection node_1;
START SLAVE;
-connection default;
+connection node_3;
SHOW VARIABLES LIKE 'binlog_format';
Variable_name Value
binlog_format ROW
-connection default;
CREATE TABLE source (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
CREATE TABLE target AS SELECT * FROM source;
-connection node_2a;
+connection node_1;
+connection node_2;
connection node_3;
-connection default;
DROP TABLE target;
INSERT INTO source VALUES(1);
CREATE TABLE target AS SELECT * FROM source;
-connection node_2a;
+connection node_1;
+connection node_2;
connection node_3;
-connection default;
DROP TABLE source;
DROP TABLE target;
-connection node_3;
-connection node_2a;
+connection node_2;
+connection node_1;
STOP SLAVE;
RESET SLAVE ALL;
-connection default;
+connection node_3;
RESET MASTER;
-disconnect node_2a;