File: rpl_semi_sync_master_timeout_basic.result

package info (click to toggle)
mariadb-10.0 10.0.32-0%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 476,064 kB
  • sloc: cpp: 1,400,131; ansic: 832,140; perl: 54,391; sh: 41,304; pascal: 32,365; yacc: 14,921; xml: 5,257; sql: 4,667; cs: 4,647; makefile: 4,555; ruby: 4,465; python: 2,292; lex: 1,427; java: 941; asm: 295; awk: 54; php: 22; sed: 16
file content (52 lines) | stat: -rw-r--r-- 2,504 bytes parent folder | download | duplicates (11)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
select @@global.rpl_semi_sync_master_timeout;
@@global.rpl_semi_sync_master_timeout
10000
SET @start_global_value = @@global.rpl_semi_sync_master_timeout;
Assuming value will not be more then 100 sec
select @@global.rpl_semi_sync_master_timeout between 1 and 100000;
@@global.rpl_semi_sync_master_timeout between 1 and 100000
1
select @@session.rpl_semi_sync_master_timeout;
ERROR HY000: Variable 'rpl_semi_sync_master_timeout' is a GLOBAL variable
show global variables like 'rpl_semi_sync_master_timeout';
Variable_name	Value
rpl_semi_sync_master_timeout	10000
show session variables like 'rpl_semi_sync_master_timeout';
Variable_name	Value
rpl_semi_sync_master_timeout	10000
select * from information_schema.global_variables where variable_name='rpl_semi_sync_master_timeout';
VARIABLE_NAME	VARIABLE_VALUE
RPL_SEMI_SYNC_MASTER_TIMEOUT	10000
select * from information_schema.session_variables where variable_name='rpl_semi_sync_master_timeout';
VARIABLE_NAME	VARIABLE_VALUE
RPL_SEMI_SYNC_MASTER_TIMEOUT	10000
set global rpl_semi_sync_master_timeout=42;
set session rpl_semi_sync_master_timeout=99;
ERROR HY000: Variable 'rpl_semi_sync_master_timeout' is a GLOBAL variable and should be set with SET GLOBAL
select @@global.rpl_semi_sync_master_timeout;
@@global.rpl_semi_sync_master_timeout
42
select @@session.rpl_semi_sync_master_timeout;
ERROR HY000: Variable 'rpl_semi_sync_master_timeout' is a GLOBAL variable
show global variables like 'rpl_semi_sync_master_timeout';
Variable_name	Value
rpl_semi_sync_master_timeout	42
show session variables like 'rpl_semi_sync_master_timeout';
Variable_name	Value
rpl_semi_sync_master_timeout	42
select * from information_schema.global_variables where variable_name='rpl_semi_sync_master_timeout';
VARIABLE_NAME	VARIABLE_VALUE
RPL_SEMI_SYNC_MASTER_TIMEOUT	42
select * from information_schema.session_variables where variable_name='rpl_semi_sync_master_timeout';
VARIABLE_NAME	VARIABLE_VALUE
RPL_SEMI_SYNC_MASTER_TIMEOUT	42
set global rpl_semi_sync_master_timeout=1.1;
ERROR 42000: Incorrect argument type to variable 'rpl_semi_sync_master_timeout'
set global rpl_semi_sync_master_timeout=1e1;
ERROR 42000: Incorrect argument type to variable 'rpl_semi_sync_master_timeout'
set global rpl_semi_sync_master_timeout="some text";
ERROR 42000: Incorrect argument type to variable 'rpl_semi_sync_master_timeout'
SET @@global.rpl_semi_sync_master_timeout = @start_global_value;
select @@global.rpl_semi_sync_master_timeout;
@@global.rpl_semi_sync_master_timeout
10000