blob: 6735d877c6bf5ccd6bef3640b58602e051b863c0 (
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
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
|
SET @global_start_value = @@global.innodb_compression_pad_pct_max;
SELECT @global_start_value;
@global_start_value
50
'#--------------------FN_DYNVARS_046_01------------------------#'
SET @@global.innodb_compression_pad_pct_max = DEFAULT;
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
50
'#---------------------FN_DYNVARS_046_02-------------------------#'
SET innodb_compression_pad_pct_max = 1;
ERROR HY000: Variable 'innodb_compression_pad_pct_max' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@innodb_compression_pad_pct_max;
@@innodb_compression_pad_pct_max
50
SELECT local.innodb_compression_pad_pct_max;
ERROR 42S02: Unknown table 'local' in field list
SET global innodb_compression_pad_pct_max = 0;
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
0
'#--------------------FN_DYNVARS_046_03------------------------#'
SET @@global.innodb_compression_pad_pct_max = 0;
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
0
SET @@global.innodb_compression_pad_pct_max = 75;
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
75
'#--------------------FN_DYNVARS_046_04-------------------------#'
SET @@global.innodb_compression_pad_pct_max = -1;
Warnings:
Warning 1292 Truncated incorrect innodb_compression_pad_pct_max value: '-1'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
0
SET @@global.innodb_compression_pad_pct_max = "T";
ERROR 42000: Incorrect argument type to variable 'innodb_compression_pad_pct_max'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
0
SET @@global.innodb_compression_pad_pct_max = 1.1;
ERROR 42000: Incorrect argument type to variable 'innodb_compression_pad_pct_max'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
0
SET @@global.innodb_compression_pad_pct_max = 76;
Warnings:
Warning 1292 Truncated incorrect innodb_compression_pad_pct_max value: '76'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
75
SET @@global.innodb_compression_pad_pct_max = " ";
ERROR 42000: Incorrect argument type to variable 'innodb_compression_pad_pct_max'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
75
SET @@global.innodb_compression_pad_pct_max = ' ';
ERROR 42000: Incorrect argument type to variable 'innodb_compression_pad_pct_max'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
75
'#----------------------FN_DYNVARS_046_05------------------------#'
SELECT @@global.innodb_compression_pad_pct_max =
VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_compression_pad_pct_max';
@@global.innodb_compression_pad_pct_max =
VARIABLE_VALUE
1
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
75
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_compression_pad_pct_max';
VARIABLE_VALUE
75
'#---------------------FN_DYNVARS_046_06-------------------------#'
SET @@global.innodb_compression_pad_pct_max = OFF;
ERROR 42000: Incorrect argument type to variable 'innodb_compression_pad_pct_max'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
75
SET @@global.innodb_compression_pad_pct_max = ON;
ERROR 42000: Incorrect argument type to variable 'innodb_compression_pad_pct_max'
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
75
'#---------------------FN_DYNVARS_046_07----------------------#'
SET @@global.innodb_compression_pad_pct_max = TRUE;
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
1
SET @@global.innodb_compression_pad_pct_max = FALSE;
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
0
SET @@global.innodb_compression_pad_pct_max = @global_start_value;
SELECT @@global.innodb_compression_pad_pct_max;
@@global.innodb_compression_pad_pct_max
50
|