File: innodb_thread_sleep_delay_basic.result

package info (click to toggle)
mariadb-10.1 10.1.45-0%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 476,916 kB
  • sloc: cpp: 1,124,656; ansic: 871,843; perl: 52,917; sh: 40,078; pascal: 35,370; javascript: 15,555; yacc: 14,728; ruby: 8,684; xml: 5,377; sql: 3,490; makefile: 2,934; python: 1,970; java: 1,691; asm: 837; lex: 757; php: 22; sed: 16
file content (88 lines) | stat: -rw-r--r-- 3,609 bytes parent folder | download
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
SET @start_global_value = @@global.innodb_thread_sleep_delay;
SELECT @start_global_value;
@start_global_value
10000
Valid values are zero or above
select @@global.innodb_thread_sleep_delay >=0;
@@global.innodb_thread_sleep_delay >=0
1
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
10000
select @@session.innodb_thread_sleep_delay;
ERROR HY000: Variable 'innodb_thread_sleep_delay' is a GLOBAL variable
show global variables like 'innodb_thread_sleep_delay';
Variable_name	Value
innodb_thread_sleep_delay	10000
show session variables like 'innodb_thread_sleep_delay';
Variable_name	Value
innodb_thread_sleep_delay	10000
select * from information_schema.global_variables where variable_name='innodb_thread_sleep_delay';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_THREAD_SLEEP_DELAY	10000
select * from information_schema.session_variables where variable_name='innodb_thread_sleep_delay';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_THREAD_SLEEP_DELAY	10000
set global innodb_thread_sleep_delay=10;
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
10
select * from information_schema.global_variables where variable_name='innodb_thread_sleep_delay';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_THREAD_SLEEP_DELAY	10
select * from information_schema.session_variables where variable_name='innodb_thread_sleep_delay';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_THREAD_SLEEP_DELAY	10
set session innodb_thread_sleep_delay=1;
ERROR HY000: Variable 'innodb_thread_sleep_delay' is a GLOBAL variable and should be set with SET GLOBAL
set global innodb_thread_sleep_delay=1.1;
ERROR 42000: Incorrect argument type to variable 'innodb_thread_sleep_delay'
set global innodb_thread_sleep_delay=1e1;
ERROR 42000: Incorrect argument type to variable 'innodb_thread_sleep_delay'
set global innodb_thread_sleep_delay="foo";
ERROR 42000: Incorrect argument type to variable 'innodb_thread_sleep_delay'
set global innodb_thread_sleep_delay=18446744073709551616;
Warnings:
Warning	1916	Got overflow when converting '18446744073709551616' to INT. Value truncated.
Warning	1292	Truncated incorrect innodb_thread_sleep_delay value: '9223372036854775807'
set global innodb_thread_sleep_delay=-7;
Warnings:
Warning	1292	Truncated incorrect innodb_thread_sleep_delay value: '-7'
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
0
select * from information_schema.global_variables where variable_name='innodb_thread_sleep_delay';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_THREAD_SLEEP_DELAY	0
set global innodb_thread_sleep_delay=0;
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
0
set global innodb_thread_sleep_delay=1000;
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
1000
set global innodb_thread_sleep_delay=1000000;
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
1000000
set global innodb_thread_sleep_delay=1000001;
Warnings:
Warning	1292	Truncated incorrect innodb_thread_sleep_delay value: '1000001'
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
1000000
set global innodb_thread_sleep_delay=4294967295;
Warnings:
Warning	1292	Truncated incorrect innodb_thread_sleep_delay value: '4294967295'
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
1000000
set global innodb_thread_sleep_delay=555;
select @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
555
SET @@global.innodb_thread_sleep_delay = @start_global_value;
SELECT @@global.innodb_thread_sleep_delay;
@@global.innodb_thread_sleep_delay
10000