config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/perfschema/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : /home/usr.opt/mysql57/mysql-test/suite/perfschema/t/digest_table_full.test

# ----------------------------------------------------
# Tests for the performance schema statement Digests.
# ----------------------------------------------------

# Test case to show behavior of statements digest when
# statement-digest-size is 0

--source include/not_embedded.inc
--source include/have_perfschema.inc

# Initial Setup for Digest
--source ../include/digest_setup.inc

TRUNCATE TABLE performance_schema.events_statements_summary_by_digest;

# Executing queries
--source ../include/digest_execution.inc

--echo ####################################
--echo # QUERYING PS STATEMENT DIGEST
--echo ####################################
SELECT SCHEMA_NAME, DIGEST, DIGEST_TEXT, COUNT_STAR, SUM_ROWS_AFFECTED, SUM_WARNINGS,
       SUM_ERRORS FROM performance_schema.events_statements_summary_by_digest;


# Expect no digest
SHOW GLOBAL VARIABLES LIKE "performance_schema_digests_size";
SELECT COUNT(*) FROM performance_schema.events_statements_summary_by_digest;

# Cleanup for Digest
--source ../include/digest_cleanup.inc


Man Man