File: slave_compressed_protocol_basic.result

package info (click to toggle)
mariadb 1%3A11.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 772,520 kB
  • sloc: ansic: 2,414,714; cpp: 1,791,394; asm: 381,336; perl: 62,905; sh: 49,647; pascal: 40,897; java: 39,363; python: 20,791; yacc: 20,432; sql: 17,907; xml: 12,344; ruby: 8,544; cs: 6,542; makefile: 6,145; ada: 1,879; lex: 1,193; javascript: 996; objc: 80; tcl: 73; awk: 46; php: 22
file content (103 lines) | stat: -rw-r--r-- 4,639 bytes parent folder | download | duplicates (4)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
SET @global_start_value = @@global.slave_compressed_protocol;
SELECT @global_start_value;
@global_start_value
0
'#--------------------FN_DYNVARS_147_01------------------------#'
SET @@global.slave_compressed_protocol = 1;
SET @@global.slave_compressed_protocol = DEFAULT;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
0
'#---------------------FN_DYNVARS_147_02-------------------------#'
SET slave_compressed_protocol = 1;
ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@slave_compressed_protocol;
@@slave_compressed_protocol
0
SELECT global.slave_compressed_protocol;
ERROR 42S02: Unknown table 'global' in SELECT
SET global slave_compressed_protocol = 1;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
1
'#--------------------FN_DYNVARS_147_03------------------------#'
SET @@global.slave_compressed_protocol = 0;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
0
SET @@global.slave_compressed_protocol = 1;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
1
'#--------------------FN_DYNVARS_147_04-------------------------#'
SET @@global.slave_compressed_protocol = -1;
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of '-1'
SET @@global.slave_compressed_protocol = 2;
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of '2'
SET @@global.slave_compressed_protocol = "1.00";
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of '1.00'
SET @@global.slave_compressed_protocol = "Y";
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of 'Y'
SET @@global.slave_compressed_protocol = YES;
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of 'YES'
SET @@global.slave_compressed_protocol = ONN;
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of 'ONN'
SET @@global.slave_compressed_protocol = 0FF;
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of '0FF'
SET @@global.slave_compressed_protocol = ' 1';
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of ' 1'
SET @@global.slave_compressed_protocol = NO;
ERROR 42000: Variable 'slave_compressed_protocol' can't be set to the value of 'NO'
'#-------------------FN_DYNVARS_147_05----------------------------#'
SET @@session.slave_compressed_protocol = 0;
ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
SET @@slave_compressed_protocol = 0;
ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.slave_compressed_protocol = 0;
ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@session.slave_compressed_protocol;
ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable
SELECT @@local.slave_compressed_protocol;
ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable
'#----------------------FN_DYNVARS_147_06------------------------#'
SELECT count(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='slave_compressed_protocol';
count(VARIABLE_VALUE)
1
'#----------------------FN_DYNVARS_147_07------------------------#'
SELECT IF(@@global.slave_compressed_protocol, "ON", "OFF") = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='slave_compressed_protocol';
IF(@@global.slave_compressed_protocol, "ON", "OFF") = VARIABLE_VALUE
1
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
1
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='slave_compressed_protocol';
VARIABLE_VALUE
ON
'#---------------------FN_DYNVARS_147_08-------------------------#'
SET @@global.slave_compressed_protocol = OFF;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
0
SET @@global.slave_compressed_protocol = ON;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
1
'#---------------------FN_DYNVARS_147_09----------------------#'
SET @@global.slave_compressed_protocol = TRUE;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
1
SET @@global.slave_compressed_protocol = FALSE;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
0
SET @@global.slave_compressed_protocol = @global_start_value;
SELECT @@global.slave_compressed_protocol;
@@global.slave_compressed_protocol
0