~ubuntu-branches/ubuntu/wily/mysql-5.6/wily

« back to all changes in this revision

Viewing changes to mysql-test/suite/perfschema/t/start_server_low_digest.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-04-16 20:07:10 UTC
  • mto: (1.3.9 vivid-proposed)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20150416200710-pcrsa022082zj46k
Tags: upstream-5.6.24
ImportĀ upstreamĀ versionĀ 5.6.24

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -----------------------------------------------------------------------
 
2
# Tests for the performance schema statement Digests.
 
3
# -----------------------------------------------------------------------
 
4
 
 
5
--source include/not_embedded.inc
 
6
--source include/have_perfschema.inc
 
7
--source ../include/no_protocol.inc
 
8
 
 
9
USE performance_schema;
 
10
truncate table events_statements_history_long;
 
11
 
 
12
# -----------------------------------------------------------------------
 
13
# Test to show how the digest behaves with low value of 
 
14
#  - performance_schema_max_digest_length
 
15
# -----------------------------------------------------------------------
 
16
SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1;
 
17
 
 
18
--echo ####################################
 
19
--echo # QUERYING PS STATEMENT DIGEST
 
20
--echo ####################################
 
21
SELECT event_name, digest, digest_text, sql_text FROM events_statements_history_long;