Parse InnoDB_trx_id as a string.

This commit is contained in:
Daniel Nichter
2012-02-23 09:34:17 -07:00
parent bb7890d78d
commit a83e97a821
5 changed files with 103 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ BEGIN {
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More tests => 42;
use Test::More tests => 43;
use PerconaTest;
@@ -421,6 +421,18 @@ ok(
'Analysis for slow052 (Apdex T = 0.1)',
);
# #############################################################################
# Bug 821694: pt-query-digest doesn't recognize hex InnoDB txn IDs
# #############################################################################
ok(
no_diff(
sub { pt_query_digest::main(@args, $sample.'slow054.txt',
qw(--check-attributes-limit 5)) },
"t/pt-query-digest/samples/slow054.txt",
),
'Analysis for slow054 (InnoDB_trx_id bug 821694)'
);
# #############################################################################
# Done.
# #############################################################################