~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/t/innodb_read_io_threads_basic.test

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#
 
3
#  2010-01-27 OBN - Added (this variable is also covered in innodb_file_io_threads_basic.test)
 
4
#
 
5
 
 
6
--source include/have_innodb.inc
 
7
 
 
8
#
 
9
# show the global and session values;
 
10
#
 
11
select @@global.innodb_read_io_threads;
 
12
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
13
select @@session.innodb_read_io_threads;
 
14
show global variables like 'innodb_read_io_threads';
 
15
show session variables like 'innodb_read_io_threads';
 
16
select * from information_schema.global_variables where variable_name='innodb_read_io_threads';
 
17
select * from information_schema.session_variables where variable_name='innodb_read_io_threads';
 
18
 
 
19
#
 
20
# show that it's read-only
 
21
#
 
22
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
23
set global innodb_read_io_threads=1;
 
24
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
25
set session innodb_read_io_threads=1;
 
26