mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 21:54:48 +00:00
Fix prepared report for statements without corresponding prep or exec.
This commit is contained in:
@@ -9,7 +9,7 @@ BEGIN {
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use English qw(-no_match_vars);
|
||||
use Test::More tests => 6;
|
||||
use Test::More tests => 7;
|
||||
|
||||
use PerconaTest;
|
||||
|
||||
@@ -69,6 +69,18 @@ ok(
|
||||
'Analysis for tcpdump033 with prepared statements report'
|
||||
);
|
||||
|
||||
# ############################################################################
|
||||
# Bug 887688: Prepared statements crash pt-query-digest
|
||||
# ############################################################################
|
||||
ok(
|
||||
no_diff(
|
||||
sub { pt_query_digest::main(@args, $sample.'tcpdump041.txt',
|
||||
'--report-format', 'header,query_report,profile,prepared') },
|
||||
"t/pt-query-digest/samples/tcpdump041.txt",
|
||||
),
|
||||
'Analysis for tcpdump041 (bug 887688)'
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user