mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 06:00:14 +00:00
PT-1422 Improved MariaDB support in pt-mysql-summary
This commit is contained in:
@@ -1366,6 +1366,9 @@ summarize_processlist () {
|
||||
}
|
||||
\$1 == \"Time:\" {
|
||||
t = \$2;
|
||||
if ( t == \"NULL\" ) {
|
||||
t = 0;
|
||||
}
|
||||
}
|
||||
\$1 == \"Command:\" {
|
||||
c = \$2;
|
||||
|
@@ -332,6 +332,9 @@ summarize_processlist () {
|
||||
}
|
||||
\$1 == \"Time:\" {
|
||||
t = \$2;
|
||||
if ( t == \"NULL\" ) {
|
||||
t = 0;
|
||||
}
|
||||
}
|
||||
\$1 == \"Command:\" {
|
||||
c = \$2;
|
||||
|
@@ -87,9 +87,13 @@ like(
|
||||
"InnoDB section present"
|
||||
);
|
||||
|
||||
my $users_count = 2;
|
||||
if ($ENV{FORK} eq 'mariadb') {
|
||||
$users_count = 8;
|
||||
}
|
||||
like(
|
||||
$out,
|
||||
qr/Users \| 2/,
|
||||
qr/Users \| $users_count/,
|
||||
"Security works"
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user