mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-16 16:23:30 +00:00
PT-1554 Updated pt-query-digest to use a proper checksum
Now, the checksum field is a CHAR(32) instead of a BIGINT. Previously it was failing on some MySQL versions since the truncated int it was storing is not consistent. Now, by having an MD5 stored as a CHAR(32) the checksum is consistent across MySQL and OS versions. This is a breaking change and pt-query-digest history and review tables are not backwards compatible.
This commit is contained in:
@@ -64,8 +64,8 @@ SELECT col FROM foo_tbl\G
|
||||
# 1s
|
||||
# 10s+
|
||||
# Review information
|
||||
# first_seen: 2007-12-18 11:48:27
|
||||
# last_seen: 2007-12-18 11:49:30
|
||||
# first_seen: 2007-12-18 11:48:57
|
||||
# last_seen: 2007-12-18 11:49:07
|
||||
# reviewed_by:
|
||||
# reviewed_on:
|
||||
# comments:
|
||||
|
@@ -64,8 +64,8 @@ SELECT col FROM foo_tbl\G
|
||||
# 1s
|
||||
# 10s+
|
||||
# Review information
|
||||
# first_seen: 2007-12-18 11:48:27
|
||||
# last_seen: 2007-12-18 11:49:30
|
||||
# first_seen: 2007-12-18 11:48:57
|
||||
# last_seen: 2007-12-18 11:49:07
|
||||
# reviewed_by:
|
||||
# reviewed_on:
|
||||
# comments:
|
||||
|
@@ -64,8 +64,8 @@ SELECT col FROM foo_tbl\G
|
||||
# 1s
|
||||
# 10s+
|
||||
# Review information
|
||||
# first_seen: 2007-12-18 11:48:27
|
||||
# last_seen: 2007-12-18 11:49:30
|
||||
# first_seen: 2007-12-18 11:48:57
|
||||
# last_seen: 2007-12-18 11:49:07
|
||||
# reviewed_by:
|
||||
# reviewed_on:
|
||||
# comments:
|
||||
|
@@ -65,8 +65,8 @@ SELECT col FROM foo_tbl\G
|
||||
# 1s
|
||||
# 10s+
|
||||
# Review information
|
||||
# first_seen: 2007-12-18 11:48:27
|
||||
# last_seen: 2007-12-18 11:49:30
|
||||
# first_seen: 2007-12-18 11:48:57
|
||||
# last_seen: 2007-12-18 11:49:07
|
||||
# reviewed_by:
|
||||
# reviewed_on:
|
||||
# comments:
|
||||
|
Reference in New Issue
Block a user