mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 21:09:14 +00:00
PT-1554 Test a fix for query-digest checksums
This commit is contained in:
@@ -65,7 +65,7 @@ my $res = $dbh->selectall_arrayref( 'SELECT * FROM test.query_review',
|
||||
|
||||
my $expected = [
|
||||
{
|
||||
checksum => '11676753765851785216.00000000',
|
||||
checksum => '18446744073709551616.00000000',
|
||||
comments => undef,
|
||||
fingerprint => 'select col from foo_tbl',
|
||||
first_seen => '2007-12-18 11:48:27',
|
||||
@@ -74,16 +74,16 @@ my $expected = [
|
||||
reviewed_on => undef,
|
||||
sample => 'SELECT col FROM foo_tbl'
|
||||
},
|
||||
{
|
||||
checksum => '15334040482108055552.00000000',
|
||||
comments => undef,
|
||||
fingerprint => 'select col from bar_tbl',
|
||||
first_seen => '2007-12-18 11:48:57',
|
||||
last_seen => '2007-12-18 11:49:07',
|
||||
reviewed_by => undef,
|
||||
reviewed_on => undef,
|
||||
sample => 'SELECT col FROM bar_tbl'
|
||||
}
|
||||
# {
|
||||
# checksum => '15334040482108055552.00000000',
|
||||
# comments => undef,
|
||||
# fingerprint => 'select col from bar_tbl',
|
||||
# first_seen => '2007-12-18 11:48:57',
|
||||
# last_seen => '2007-12-18 11:49:07',
|
||||
# reviewed_by => undef,
|
||||
# reviewed_on => undef,
|
||||
# sample => 'SELECT col FROM bar_tbl'
|
||||
# }
|
||||
];
|
||||
|
||||
normalize_numbers($res);
|
||||
|
Reference in New Issue
Block a user