From d876f4bd5e0f3934fd9d95399be1940a1de43e46 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 21 Sep 2016 13:20:24 +0200 Subject: [PATCH] disable session_track_schema for perfschema.socket_summary_by_instance_func because it counts number of bytes sent and expects it to be independent from the database name length --- .../suite/perfschema/r/socket_summary_by_instance_func.result | 2 ++ .../suite/perfschema/t/socket_summary_by_instance_func.test | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mysql-test/suite/perfschema/r/socket_summary_by_instance_func.result b/mysql-test/suite/perfschema/r/socket_summary_by_instance_func.result index bf515500c2f..dec4dc431f5 100644 --- a/mysql-test/suite/perfschema/r/socket_summary_by_instance_func.result +++ b/mysql-test/suite/perfschema/r/socket_summary_by_instance_func.result @@ -1,3 +1,4 @@ +set global session_track_schema=FALSE; # The logging of commands and result sets is mostly disabled. # There are some messages which help to observe the progress of the test. # In case some check fails @@ -218,3 +219,4 @@ connection default; TRUNCATE TABLE performance_schema.socket_summary_by_instance; # 6. Cleanup connection default; +set global session_track_schema=DEFAULT; diff --git a/mysql-test/suite/perfschema/t/socket_summary_by_instance_func.test b/mysql-test/suite/perfschema/t/socket_summary_by_instance_func.test index 99f89bd3225..42bcb3e4d70 100644 --- a/mysql-test/suite/perfschema/t/socket_summary_by_instance_func.test +++ b/mysql-test/suite/perfschema/t/socket_summary_by_instance_func.test @@ -38,6 +38,7 @@ # prepared statement. --source include/no_protocol.inc +set global session_track_schema=FALSE; #=================================== # Set IP address defaults with respect to IPV6 support @@ -1710,3 +1711,4 @@ DROP SCHEMA mysqlsupertest; --connection default --enable_query_log +set global session_track_schema=DEFAULT;