mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
dfa22c5d39
Its value changes depending on the parser constants, so it changes every time somebody makes a change in the parser
21 lines
988 B
Text
21 lines
988 B
Text
# -----------------------------------------------------------------------
|
|
# Tests for the performance schema statement Digests.
|
|
# -----------------------------------------------------------------------
|
|
|
|
--source include/not_embedded.inc
|
|
--source include/have_perfschema.inc
|
|
--source include/no_protocol.inc
|
|
|
|
USE performance_schema;
|
|
truncate table events_statements_history_long;
|
|
|
|
# -----------------------------------------------------------------------
|
|
# Test to show how the digest behaves with low value of
|
|
# - performance_schema_max_digest_length
|
|
# -----------------------------------------------------------------------
|
|
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;
|
|
|
|
--echo ####################################
|
|
--echo # QUERYING PS STATEMENT DIGEST
|
|
--echo ####################################
|
|
SELECT event_name, digest_text, sql_text FROM events_statements_history_long;
|