summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql-test/suite/plugins/r/audit_null.result2
-rw-r--r--mysql-test/t/mysqld--help.test3
-rw-r--r--plugin/query_response_time/mysql-test/query_response_time/basic.result14
-rw-r--r--plugin/query_response_time/mysql-test/query_response_time/basic.test3
-rw-r--r--plugin/query_response_time/mysql-test/query_response_time/suite.opt2
-rw-r--r--plugin/query_response_time/mysql-test/query_response_time/suite.pm2
6 files changed, 7 insertions, 19 deletions
diff --git a/mysql-test/suite/plugins/r/audit_null.result b/mysql-test/suite/plugins/r/audit_null.result
index 2b1b64a9d85..e4e60a3f44c 100644
--- a/mysql-test/suite/plugins/r/audit_null.result
+++ b/mysql-test/suite/plugins/r/audit_null.result
@@ -18,7 +18,7 @@ concat("test1", x)
test1-12
show status like 'audit_null%';
Variable_name Value
-Audit_null_called 19
+Audit_null_called 20
Audit_null_general_log 7
Audit_null_general_error 1
Audit_null_general_result 5
diff --git a/mysql-test/t/mysqld--help.test b/mysql-test/t/mysqld--help.test
index 0f3df10ea70..9e24443151d 100644
--- a/mysql-test/t/mysqld--help.test
+++ b/mysql-test/t/mysqld--help.test
@@ -27,7 +27,8 @@ perl;
feedback debug temp-pool ssl des-key-file xtradb sequence
thread-concurrency super-large-pages mutex-deadlock-detector
null-audit aria pbxt oqgraph sphinx thread-handling
- test-sql-discovery rpl-semi-sync query-cache-info/;
+ test-sql-discovery rpl-semi-sync query-cache-info
+ query-response-time/;
# And substitute the content some environment variables with their
# names:
diff --git a/plugin/query_response_time/mysql-test/query_response_time/basic.result b/plugin/query_response_time/mysql-test/query_response_time/basic.result
index a89652dcbfd..b8aeb0a8e6e 100644
--- a/plugin/query_response_time/mysql-test/query_response_time/basic.result
+++ b/plugin/query_response_time/mysql-test/query_response_time/basic.result
@@ -10,30 +10,18 @@ QUERY_RESPONSE_TIME CREATE TEMPORARY TABLE `QUERY_RESPONSE_TIME` (
`COUNT` int(11) unsigned NOT NULL DEFAULT '0',
`TOTAL` varchar(14) NOT NULL DEFAULT ''
) ENGINE=MEMORY DEFAULT CHARSET=utf8
-SELECT * FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE 'query_response_time%';;
+SELECT PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_TYPE, PLUGIN_AUTHOR, PLUGIN_DESCRIPTION, PLUGIN_LICENSE, PLUGIN_MATURITY FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE 'query_response_time%';;
PLUGIN_NAME QUERY_RESPONSE_TIME
PLUGIN_VERSION 1.0
-PLUGIN_STATUS ACTIVE
PLUGIN_TYPE INFORMATION SCHEMA
-PLUGIN_TYPE_VERSION 100002.0
-PLUGIN_LIBRARY QUERY_RESPONSE_TIME_SO
-PLUGIN_LIBRARY_VERSION 1.4
PLUGIN_AUTHOR Percona and Sergey Vojtovich
PLUGIN_DESCRIPTION Query Response Time Distribution INFORMATION_SCHEMA Plugin
PLUGIN_LICENSE GPL
-LOAD_OPTION ON
PLUGIN_MATURITY Alpha
-PLUGIN_AUTH_VERSION 1.0
PLUGIN_NAME QUERY_RESPONSE_TIME_AUDIT
PLUGIN_VERSION 1.0
-PLUGIN_STATUS ACTIVE
PLUGIN_TYPE AUDIT
-PLUGIN_TYPE_VERSION 3.0
-PLUGIN_LIBRARY QUERY_RESPONSE_TIME_SO
-PLUGIN_LIBRARY_VERSION 1.4
PLUGIN_AUTHOR Percona and Sergey Vojtovich
PLUGIN_DESCRIPTION Query Response Time Distribution Audit Plugin
PLUGIN_LICENSE GPL
-LOAD_OPTION ON
PLUGIN_MATURITY Alpha
-PLUGIN_AUTH_VERSION 1.0
diff --git a/plugin/query_response_time/mysql-test/query_response_time/basic.test b/plugin/query_response_time/mysql-test/query_response_time/basic.test
index 3e9d64685dd..e46c8035d24 100644
--- a/plugin/query_response_time/mysql-test/query_response_time/basic.test
+++ b/plugin/query_response_time/mysql-test/query_response_time/basic.test
@@ -1,4 +1,3 @@
SHOW VARIABLES WHERE VARIABLE_NAME LIKE 'query_response_time%' AND VARIABLE_NAME!='query_response_time_exec_time_debug';
SHOW CREATE TABLE INFORMATION_SCHEMA.QUERY_RESPONSE_TIME;
---replace_result $QUERY_RESPONSE_TIME_SO QUERY_RESPONSE_TIME_SO
---query_vertical SELECT * FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE 'query_response_time%';
+--query_vertical SELECT PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_TYPE, PLUGIN_AUTHOR, PLUGIN_DESCRIPTION, PLUGIN_LICENSE, PLUGIN_MATURITY FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE 'query_response_time%';
diff --git a/plugin/query_response_time/mysql-test/query_response_time/suite.opt b/plugin/query_response_time/mysql-test/query_response_time/suite.opt
index 2530b70e7d5..dcf875578c1 100644
--- a/plugin/query_response_time/mysql-test/query_response_time/suite.opt
+++ b/plugin/query_response_time/mysql-test/query_response_time/suite.opt
@@ -1 +1 @@
---plugin-load-add=$QUERY_RESPONSE_TIME_SO --plugin-query-response-time=ON --plugin-query-response-time-audit=ON
+--plugin-load=$QUERY_RESPONSE_TIME_SO --plugin-query-response-time=ON --plugin-query-response-time-audit=ON
diff --git a/plugin/query_response_time/mysql-test/query_response_time/suite.pm b/plugin/query_response_time/mysql-test/query_response_time/suite.pm
index aabcc27ab65..4ee84a22f14 100644
--- a/plugin/query_response_time/mysql-test/query_response_time/suite.pm
+++ b/plugin/query_response_time/mysql-test/query_response_time/suite.pm
@@ -4,7 +4,7 @@ package My::Suite::Query_response_time;
return "No QUERY_RESPONSE_TIME plugin" unless
$ENV{QUERY_RESPONSE_TIME_SO} or
- $::mysqld_variables{'query_response_time'} eq "ON";
+ $::mysqld_variables{'query-response-time'} eq "ON";
return "Not run for embedded server" if $::opt_embedded_server;