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

« back to all changes in this revision

Viewing changes to mysql-test/t/show_profile.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
# Test for show profiles
 
3
# No meaningful check is possible. 
 
4
# So it only checks that SET profiling is possible and
 
5
# that SHOW PROFILES, SHOW PROFILE FOR QUERY and SHOW PROFILE CPU FOR QUERY
 
6
# do not cause syntax errors. It also increases code coverage for sql_profile.cc
 
7
 
 
8
--source include/have_profiling.inc
 
9
SET profiling = 1;
 
10
SELECT 1;
 
11
--replace_column 2 #
 
12
SHOW PROFILES;
 
13
--disable_result_log
 
14
SHOW PROFILE FOR QUERY 1;
 
15
SHOW PROFILE CPU FOR QUERY 1;
 
16
--enable_result_log 
 
17
SET profiling = 0;
 
18