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

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/t/pfs_max_statement_classes_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
--source include/not_embedded.inc
 
2
--source include/have_perfschema.inc
 
3
 
 
4
#
 
5
# Only global
 
6
#
 
7
 
 
8
select @@global.performance_schema_max_statement_classes;
 
9
 
 
10
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
11
select @@session.performance_schema_max_statement_classes;
 
12
 
 
13
show global variables like 'performance_schema_max_statement_classes';
 
14
 
 
15
show session variables like 'performance_schema_max_statement_classes';
 
16
 
 
17
select * from information_schema.global_variables
 
18
  where variable_name='performance_schema_max_statement_classes';
 
19
 
 
20
select * from information_schema.session_variables
 
21
  where variable_name='performance_schema_max_statement_classes';
 
22
 
 
23
#
 
24
# Read-only
 
25
#
 
26
 
 
27
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
28
set global performance_schema_max_statement_classes=1;
 
29
 
 
30
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
31
set session performance_schema_max_statement_classes=1;
 
32