blob: 4d233b11cc219850d7a511105a5c9a03de056307 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--source include/not_embedded.inc
# Also tests some command line options, in slave_parallel_mode_basic-master.opt
--error ER_GLOBAL_VARIABLE
SET SESSION slave_parallel_mode= none;
SELECT @@slave_parallel_mode;
SELECT @@m1.slave_parallel_mode;
CHANGE MASTER TO master_host='127.0.0.1', master_port=3310, master_user='root';
SELECT @@``.slave_parallel_mode;
SELECT @@slave_parallel_mode;
--let $status_items= Parallel_Mode
--source include/show_slave_status.inc
SELECT @@m2.slave_parallel_mode;
SET GLOBAL m2.slave_parallel_mode = none;
CHANGE MASTER 'm1' TO master_host='127.0.0.1', master_port=3311, master_user='root';
SELECT @@m1.slave_parallel_mode;
--source include/show_slave_status.inc
SET GLOBAL m1.slave_parallel_mode= conservative;
--source include/show_slave_status.inc
SET default_master_connection= 'm1';
SELECT @@slave_parallel_mode;
SET GLOBAL slave_parallel_mode= aggressive;
SELECT @@slave_parallel_mode;
--source include/show_slave_status.inc
SET default_master_connection= '';
SELECT @@slave_parallel_mode;
RESET SLAVE ALL;
RESET SLAVE 'm1' ALL;
|