Commit 06c16904 authored by Sergei Golubchik's avatar Sergei Golubchik

revert test changes from "cleaned up code for setting slave_parallel_mode"

but keep the code cleanup.
as it turns out, it didn't change the behavior, which is good :)
parent 51bdfb01
...@@ -4,11 +4,7 @@ SELECT @@slave_parallel_mode; ...@@ -4,11 +4,7 @@ SELECT @@slave_parallel_mode;
@@slave_parallel_mode @@slave_parallel_mode
domain domain
SELECT @@m1.slave_parallel_mode; SELECT @@m1.slave_parallel_mode;
@@m1.slave_parallel_mode ERROR HY000: There is no master connection 'm1'
NULL
Warnings:
Warning 1617 There is no master connection 'm1'
Warning 1617 There is no master connection 'm1'
CHANGE MASTER TO master_host='127.0.0.1', master_port=3310, master_user='root'; CHANGE MASTER TO master_host='127.0.0.1', master_port=3310, master_user='root';
SELECT @@``.slave_parallel_mode; SELECT @@``.slave_parallel_mode;
@@``.slave_parallel_mode @@``.slave_parallel_mode
...@@ -18,14 +14,9 @@ SELECT @@slave_parallel_mode; ...@@ -18,14 +14,9 @@ SELECT @@slave_parallel_mode;
domain domain
Parallel_Mode = 'domain' Parallel_Mode = 'domain'
SELECT @@m2.slave_parallel_mode; SELECT @@m2.slave_parallel_mode;
@@m2.slave_parallel_mode ERROR HY000: There is no master connection 'm2'
NULL
Warnings:
Warning 1617 There is no master connection 'm2'
Warning 1617 There is no master connection 'm2'
SET GLOBAL m2.slave_parallel_mode = ''; SET GLOBAL m2.slave_parallel_mode = '';
Warnings: ERROR HY000: There is no master connection 'm2'
Warning 1617 There is no master connection 'm2'
CHANGE MASTER 'm1' TO master_host='127.0.0.1', master_port=3311, master_user='root'; CHANGE MASTER 'm1' TO master_host='127.0.0.1', master_port=3311, master_user='root';
SELECT @@m1.slave_parallel_mode; SELECT @@m1.slave_parallel_mode;
@@m1.slave_parallel_mode @@m1.slave_parallel_mode
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
SET SESSION slave_parallel_mode= ''; SET SESSION slave_parallel_mode= '';
SELECT @@slave_parallel_mode; SELECT @@slave_parallel_mode;
--error WARN_NO_MASTER_INFO
SELECT @@m1.slave_parallel_mode; SELECT @@m1.slave_parallel_mode;
CHANGE MASTER TO master_host='127.0.0.1', master_port=3310, master_user='root'; CHANGE MASTER TO master_host='127.0.0.1', master_port=3310, master_user='root';
...@@ -14,7 +15,9 @@ SELECT @@slave_parallel_mode; ...@@ -14,7 +15,9 @@ SELECT @@slave_parallel_mode;
--let $status_items= Parallel_Mode --let $status_items= Parallel_Mode
--source include/show_slave_status.inc --source include/show_slave_status.inc
--error WARN_NO_MASTER_INFO
SELECT @@m2.slave_parallel_mode; SELECT @@m2.slave_parallel_mode;
--error WARN_NO_MASTER_INFO
SET GLOBAL m2.slave_parallel_mode = ''; SET GLOBAL m2.slave_parallel_mode = '';
CHANGE MASTER 'm1' TO master_host='127.0.0.1', master_port=3311, master_user='root'; CHANGE MASTER 'm1' TO master_host='127.0.0.1', master_port=3311, master_user='root';
...@@ -30,5 +33,6 @@ SELECT @@slave_parallel_mode; ...@@ -30,5 +33,6 @@ SELECT @@slave_parallel_mode;
SET default_master_connection= ''; SET default_master_connection= '';
SELECT @@slave_parallel_mode; SELECT @@slave_parallel_mode;
RESET SLAVE ALL; RESET SLAVE ALL;
RESET SLAVE 'm1' ALL; RESET SLAVE 'm1' ALL;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment