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

« back to all changes in this revision

Viewing changes to mysql-test/suite/perfschema/t/start_server_no_thread_inst.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
# Tests for PERFORMANCE_SCHEMA
 
2
 
 
3
--source include/not_embedded.inc
 
4
--source include/have_perfschema.inc
 
5
 
 
6
--source ../include/start_server_common.inc
 
7
 
 
8
# Expect classes
 
9
show variables like "performance_schema_max_thread_classes";
 
10
 
 
11
# Not observable yet
 
12
# select count(*) > 0 from performance_schema.setup_instruments
 
13
#   where name like "thread/%";
 
14
 
 
15
# Expect no class lost
 
16
show status like "performance_schema_thread_classes_lost";
 
17
 
 
18
# Expect no instances
 
19
show variables like "performance_schema_max_thread_instances";
 
20
 
 
21
select count(*) from performance_schema.threads;
 
22
 
 
23
# Expect instances lost
 
24
select variable_value > 0 from information_schema.global_status
 
25
  where variable_name like 'PERFORMANCE_SCHEMA_THREAD_INSTANCES_LOST';
 
26
 
 
27