PT-1554 Test fixes for QueryReportFormatter

This commit is contained in:
Carlos Salguero
2018-05-23 11:32:03 -03:00
parent f0c947d9cf
commit cbe2333e92
2 changed files with 5 additions and 3 deletions

View File

@@ -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()"
);

View File

@@ -9,5 +9,5 @@
# key_len: 4
# ref: const
# rows: 1
# filtered: 100
# filtered: 100.00
# Extra: NULL