diff options
Diffstat (limited to 'mysql-test/suite/perfschema/r/digest_view.result')
-rw-r--r-- | mysql-test/suite/perfschema/r/digest_view.result | 60 |
1 files changed, 31 insertions, 29 deletions
diff --git a/mysql-test/suite/perfschema/r/digest_view.result b/mysql-test/suite/perfschema/r/digest_view.result index 1bc4a3c2..2bc6059c 100644 --- a/mysql-test/suite/perfschema/r/digest_view.result +++ b/mysql-test/suite/perfschema/r/digest_view.result @@ -187,21 +187,21 @@ b a # # DIGESTS SEEN ON TABLE # -SELECT SCHEMA_NAME, DIGEST, DIGEST_TEXT, COUNT_STAR +SELECT SCHEMA_NAME, check_digest(DIGEST), DIGEST_TEXT, COUNT_STAR FROM performance_schema.events_statements_summary_by_digest ORDER BY DIGEST_TEXT; -SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR -test b69a5ddd08657692e23aa72d37dc15e0 EXPLAIN SELECT * FROM `test` . `v1` 1 -test 8c76fc18fe1711607640be2906e38f58 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 1 -test 9bedc57de65e2ac25d67fcb6ccadb427 EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 1 -test 0539bbfdb016341a22d32fecb12c9882 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 1 -test 3368b44e9d8b8cfb13b58f97a255d77f EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 1 -test 2f619aeadc8bd993980ef9b4d12e4222 SELECT * FROM `test` . `v1` 1 -test b9a44c024c9d79de76f2ebcd2f208c4c SELECT * FROM `test` . `v1` WHERE `a` = ? 1 -test a3ccc4c3c79e853eaa17e3ceb7a24b30 SELECT * FROM `test` . `v1` WHERE `b` > ? 1 -test 9556566adc0953fccd8e2e35019287ed SELECT `a` , `b` FROM `test` . `v1` 1 -test fc937c99007b0976d19fb685b3bf9acc SELECT `b` , `a` FROM `test` . `v1` 1 -test a73dca7a09f45de04f1f4588f0a4e19f TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 +SCHEMA_NAME check_digest(DIGEST) DIGEST_TEXT COUNT_STAR +test 1 EXPLAIN SELECT * FROM `test` . `v1` 1 +test 1 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 1 +test 1 EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 1 +test 1 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 1 +test 1 EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 1 +test 1 SELECT * FROM `test` . `v1` 1 +test 1 SELECT * FROM `test` . `v1` WHERE `a` = ? 1 +test 1 SELECT * FROM `test` . `v1` WHERE `b` > ? 1 +test 1 SELECT `a` , `b` FROM `test` . `v1` 1 +test 1 SELECT `b` , `a` FROM `test` . `v1` 1 +test 1 TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 DROP TABLE test.v1; CREATE VIEW test.v1 AS SELECT * FROM test.t1; EXPLAIN SELECT * from test.v1; @@ -244,23 +244,25 @@ b a # # DIGESTS SEEN ON VIEW # -SELECT SCHEMA_NAME, DIGEST, DIGEST_TEXT, COUNT_STAR +call reset_digests; +SELECT SCHEMA_NAME, check_digest(DIGEST), DIGEST_TEXT, COUNT_STAR FROM performance_schema.events_statements_summary_by_digest ORDER BY DIGEST_TEXT; -SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR -test 7f6c48fe072a231bc75d6d449978b9f5 CREATE VIEW `test` . `v1` AS SELECT * FROM `test` . `t1` 1 -test c24db45ea4beed6ba2537ca6ea2d0484 DROP TABLE `test` . `v1` 1 -test b69a5ddd08657692e23aa72d37dc15e0 EXPLAIN SELECT * FROM `test` . `v1` 2 -test 8c76fc18fe1711607640be2906e38f58 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 2 -test 9bedc57de65e2ac25d67fcb6ccadb427 EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 2 -test 0539bbfdb016341a22d32fecb12c9882 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 2 -test 3368b44e9d8b8cfb13b58f97a255d77f EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 2 -test 2f619aeadc8bd993980ef9b4d12e4222 SELECT * FROM `test` . `v1` 2 -test b9a44c024c9d79de76f2ebcd2f208c4c SELECT * FROM `test` . `v1` WHERE `a` = ? 2 -test a3ccc4c3c79e853eaa17e3ceb7a24b30 SELECT * FROM `test` . `v1` WHERE `b` > ? 2 -test 7b82ea9a7c1859f76abed712d2d4b14d SELECT SCHEMA_NAME , `DIGEST` , `DIGEST_TEXT` , `COUNT_STAR` FROM `performance_schema` . `events_statements_summary_by_digest` ORDER BY `DIGEST_TEXT` 1 -test 9556566adc0953fccd8e2e35019287ed SELECT `a` , `b` FROM `test` . `v1` 2 -test fc937c99007b0976d19fb685b3bf9acc SELECT `b` , `a` FROM `test` . `v1` 2 -test a73dca7a09f45de04f1f4588f0a4e19f TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 +SCHEMA_NAME check_digest(DIGEST) DIGEST_TEXT COUNT_STAR +test 1 CALL `reset_digests` 1 +test 1 CREATE VIEW `test` . `v1` AS SELECT * FROM `test` . `t1` 1 +test 1 DROP TABLE `test` . `v1` 1 +test 1 EXPLAIN SELECT * FROM `test` . `v1` 2 +test 1 EXPLAIN SELECT * FROM `test` . `v1` WHERE `a` = ? 2 +test 1 EXPLAIN SELECT * FROM `test` . `v1` WHERE `b` > ? 2 +test 1 EXPLAIN SELECT `a` , `b` FROM `test` . `v1` 2 +test 1 EXPLAIN SELECT `b` , `a` FROM `test` . `v1` 2 +test 1 SELECT * FROM `test` . `v1` 2 +test 1 SELECT * FROM `test` . `v1` WHERE `a` = ? 2 +test 1 SELECT * FROM `test` . `v1` WHERE `b` > ? 2 +test 1 SELECT SCHEMA_NAME , `check_digest` ( `DIGEST` ) , `DIGEST_TEXT` , `COUNT_STAR` FROM `performance_schema` . `events_statements_summary_by_digest` ORDER BY `DIGEST_TEXT` 1 +test 1 SELECT `a` , `b` FROM `test` . `v1` 2 +test 1 SELECT `b` , `a` FROM `test` . `v1` 2 +test 1 TRUNCATE TABLE `performance_schema` . `events_statements_summary_by_digest` 1 DROP VIEW test.v1; DROP TABLE test.t1; |