summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/innodb_read_io_threads_basic.result
blob: 6ec897cea021221b2c03fde3e208636b45bbfc3f (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
select @@global.innodb_read_io_threads;
@@global.innodb_read_io_threads
2
select @@session.innodb_read_io_threads;
ERROR HY000: Variable 'innodb_read_io_threads' is a GLOBAL variable
show global variables like 'innodb_read_io_threads';
Variable_name	Value
innodb_read_io_threads	2
show session variables like 'innodb_read_io_threads';
Variable_name	Value
innodb_read_io_threads	2
select * from information_schema.global_variables where variable_name='innodb_read_io_threads';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_READ_IO_THREADS	2
select * from information_schema.session_variables where variable_name='innodb_read_io_threads';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_READ_IO_THREADS	2
select @@innodb_read_io_threads into @n;
set global innodb_read_io_threads = 1;
select @@innodb_read_io_threads;
@@innodb_read_io_threads
1
set global innodb_read_io_threads=64;
select @@innodb_read_io_threads;
@@innodb_read_io_threads
64
set session innodb_read_io_threads=1;
ERROR HY000: Variable 'innodb_read_io_threads' is a GLOBAL variable and should be set with SET GLOBAL
set global innodb_read_io_threads=@n;