@@ -43,14 +43,40 @@ set global innodb_spin_wait_delay=0;
43
43
select @@global.innodb_spin_wait_delay;
44
44
@@global.innodb_spin_wait_delay
45
45
0
46
+ set global innodb_spin_wait_delay=5000;
47
+ select @@global.innodb_spin_wait_delay;
48
+ @@global.innodb_spin_wait_delay
49
+ 5000
46
50
set global innodb_spin_wait_delay=65535;
51
+ Warnings:
52
+ Warning 1292 Truncated incorrect innodb_spin_wait_delay value: '65535'
47
53
select @@global.innodb_spin_wait_delay;
48
54
@@global.innodb_spin_wait_delay
49
- 65535
55
+ 6000
50
56
set global innodb_spin_wait_delay=4294967295;
57
+ Warnings:
58
+ Warning 1292 Truncated incorrect innodb_spin_wait_delay value: '4294967295'
59
+ select @@global.innodb_spin_wait_delay;
60
+ @@global.innodb_spin_wait_delay
61
+ 6000
62
+ set @@global.innodb_spin_wait_delay = 4294967296;
63
+ Warnings:
64
+ Warning 1292 Truncated incorrect innodb_spin_wait_delay value: '4294967296'
65
+ select @@global.innodb_spin_wait_delay;
66
+ @@global.innodb_spin_wait_delay
67
+ 6000
68
+ set @@global.innodb_spin_wait_delay = 12345678901;
69
+ Warnings:
70
+ Warning 1292 Truncated incorrect innodb_spin_wait_delay value: '12345678901'
71
+ select @@global.innodb_spin_wait_delay;
72
+ @@global.innodb_spin_wait_delay
73
+ 6000
74
+ set @@global.innodb_spin_wait_delay = 18446744073709551615;
75
+ Warnings:
76
+ Warning 1292 Truncated incorrect innodb_spin_wait_delay value: '18446744073709551615'
51
77
select @@global.innodb_spin_wait_delay;
52
78
@@global.innodb_spin_wait_delay
53
- 4294967295
79
+ 6000
54
80
set global innodb_spin_wait_delay=1.1;
55
81
ERROR 42000: Incorrect argument type to variable 'innodb_spin_wait_delay'
56
82
set global innodb_spin_wait_delay=1e1;
@@ -61,12 +87,12 @@ set global innodb_spin_wait_delay=' ';
61
87
ERROR 42000: Incorrect argument type to variable 'innodb_spin_wait_delay'
62
88
select @@global.innodb_spin_wait_delay;
63
89
@@global.innodb_spin_wait_delay
64
- 4294967295
90
+ 6000
65
91
set global innodb_spin_wait_delay=" ";
66
92
ERROR 42000: Incorrect argument type to variable 'innodb_spin_wait_delay'
67
93
select @@global.innodb_spin_wait_delay;
68
94
@@global.innodb_spin_wait_delay
69
- 4294967295
95
+ 6000
70
96
set global innodb_spin_wait_delay=-7;
71
97
Warnings:
72
98
Warning 1292 Truncated incorrect innodb_spin_wait_delay value: '-7'
@@ -82,18 +108,6 @@ select @@global.innodb_spin_wait_delay;
82
108
select * from information_schema.global_variables where variable_name='innodb_spin_wait_delay';
83
109
VARIABLE_NAME VARIABLE_VALUE
84
110
INNODB_SPIN_WAIT_DELAY 0
85
- SET @@global.innodb_spin_wait_delay = 4294967296;
86
- SELECT @@global.innodb_spin_wait_delay IN (4294967296,4294967295);
87
- @@global.innodb_spin_wait_delay IN (4294967296,4294967295)
88
- 1
89
- SET @@global.innodb_spin_wait_delay = 12345678901;
90
- SELECT @@global.innodb_spin_wait_delay IN (12345678901,4294967295);
91
- @@global.innodb_spin_wait_delay IN (12345678901,4294967295)
92
- 1
93
- SET @@global.innodb_spin_wait_delay = 18446744073709551615;
94
- SELECT @@global.innodb_spin_wait_delay IN (18446744073709551615,4294967295);
95
- @@global.innodb_spin_wait_delay IN (18446744073709551615,4294967295)
96
- 1
97
111
SET @@global.innodb_spin_wait_delay = @start_global_value;
98
112
SELECT @@global.innodb_spin_wait_delay;
99
113
@@global.innodb_spin_wait_delay
0 commit comments