mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 22:19:44 +00:00
PT-1554 Test fixes for QueryReportFormatter
This commit is contained in:
@@ -1220,9 +1220,11 @@ SKIP: {
|
||||
: $sandbox_version ge '5.1' ? "t/lib/samples/QueryReportFormatter/report025.txt"
|
||||
: "t/lib/samples/QueryReportFormatter/report026.txt");
|
||||
|
||||
# 30
|
||||
# 32
|
||||
my $explain_report = $qrf->explain_report("select * from qrf.t where i=2", 'qrf');
|
||||
$explain_report =~ s/filtered: 100(\s+)/filtered: 100.00$1/;
|
||||
is(
|
||||
$qrf->explain_report("select * from qrf.t where i=2", 'qrf'),
|
||||
$explain_report,
|
||||
$explain,
|
||||
"explain_report()"
|
||||
);
|
||||
|
@@ -9,5 +9,5 @@
|
||||
# key_len: 4
|
||||
# ref: const
|
||||
# rows: 1
|
||||
# filtered: 100
|
||||
# filtered: 100.00
|
||||
# Extra: NULL
|
||||
|
Reference in New Issue
Block a user