Debian Codegraph @

mysql-test/suite/perfschema/t/start_server_low_digest.test

raw
1 # -----------------------------------------------------------------------
2 # Tests for the performance schema statement Digests.
3 # -----------------------------------------------------------------------
4
5 # Test requires: sp-protocol/ps-protocol/view-protocol/cursor-protocol disabled
6 --source include/no_protocol.inc
7
8 # X plugin might increase counter thread_id_increment
9 source include/xplugin_wait_for_interfaces.inc;
10
11 USE performance_schema;
12 truncate table events_statements_history_long;
13
14 # -----------------------------------------------------------------------
15 # Test to show how the digest behaves with low value of
16 # - performance_schema_max_digest_length
17 # -----------------------------------------------------------------------
18 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;
19
20 --echo ####################################
21 --echo # QUERYING PS STATEMENT DIGEST
22 --echo ####################################
23 SELECT event_name, digest, digest_text, sql_text FROM events_statements_history_long;