mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.0' into 10.1
This commit is contained in:
@ -10,6 +10,8 @@ select plugin_status from information_schema.plugins where plugin_name='feedback
|
||||
--replace_result https http
|
||||
--sorted_result
|
||||
select * from information_schema.feedback where variable_name like 'feed%'
|
||||
and variable_name not like '%_uid';
|
||||
and variable_name not like '%_uid'
|
||||
and variable_name not like '%debug%';
|
||||
|
||||
uninstall plugin feedback;
|
||||
|
||||
|
@ -24,7 +24,8 @@ SELECT variable_value = @feedback_used + 1 FROM information_schema.feedback wher
|
||||
--replace_result https http
|
||||
--sorted_result
|
||||
select * from information_schema.feedback where variable_name like 'feed%'
|
||||
and variable_name not like '%_uid' and variable_name not like 'FEEDBACK used';
|
||||
and variable_name not like '%_uid' and variable_name not like 'FEEDBACK used'
|
||||
and variable_name not like '%debug%';
|
||||
|
||||
# Embedded server does not use the table mysqld.user and thus
|
||||
# does not automatically use latin1_bin on startup. Use it manually.
|
||||
|
@ -13,7 +13,11 @@ if (!$MTR_FEEDBACK_PLUGIN) {
|
||||
# Let's wait, and hope that mtr is started with --parallel and
|
||||
# is doing some work in other workers.
|
||||
#
|
||||
sleep 310;
|
||||
|
||||
sleep 100;
|
||||
set global sql_mode=ONLY_FULL_GROUP_BY;
|
||||
sleep 210;
|
||||
|
||||
|
||||
# The test expects that the plugin will send a report at least 2 times,
|
||||
# now (5 min after loading) and on server shutdown which happens below.
|
||||
@ -25,20 +29,15 @@ sleep 310;
|
||||
--let $shutdown_timeout= 60
|
||||
source include/restart_mysqld.inc;
|
||||
|
||||
replace_result https http;
|
||||
replace_result https http 2 6;
|
||||
perl;
|
||||
$log_error= $ENV{'MYSQLTEST_VARDIR'} . '/log/mysqld.1.err';
|
||||
open(LOG, '<', $log_error) or die "open(< $log_error): $!";
|
||||
|
||||
# Get the first few rows (as there may be different number rows in the log)
|
||||
$i= 0;
|
||||
while ($_=<LOG>)
|
||||
{
|
||||
if (/feedback plugin:.*/)
|
||||
{
|
||||
print "$&\n";
|
||||
break if ($i++ >= 3);
|
||||
}
|
||||
%logg=();
|
||||
while ($_=<LOG>) {
|
||||
$logg{$&}++ if /feedback plugin:.*/;
|
||||
}
|
||||
print "$logg{$_}: $_\n" for sort keys %logg;
|
||||
close LOG;
|
||||
EOF
|
||||
|
Reference in New Issue
Block a user