23 Commits

Author SHA1 Message Date
Sveta Smirnova
d02355f89b PT-2340 - Support MySQL 8.4
- Updated modules and tests for pt-query-digest, pt-show-grants, pt-slave-delay, pt-slave-find, pt-slave-restart, pt-stalk, pt-summary, pt-table-checksum
2024-08-03 14:24:10 +03:00
Carlos Salguero
f95d448e03 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.
2018-06-13 11:25:47 -03:00
Carlos Salguero
285588546d PT-1554 Test a fix for query-digest checksums 2018-05-24 15:46:46 -03:00
Carlos Salguero
fcd1cb173f More 5.7 tests fixed 2017-04-27 16:44:46 -03:00
frank-cizmich
96aff694b1 fixed 5.7 tests for pt-query-digest and pt-show-grants and tweaked SqlMode for global 2016-01-12 18:18:59 -03:00
Brian Fraser
6096dd05b2 Move the --history tests out of review.t 2013-03-06 13:53:22 -03:00
Brian Fraser
fb346bee4a Make review.t use output() rather than shelling out 2013-03-06 13:30:14 -03:00
Brian Fraser
310867b301 Removed --aux-dsn, enabled passing an optional dsn with the extra arguments 2013-03-01 17:03:05 -03:00
Brian Fraser
734deef881 Split --review and --history 2013-03-01 16:35:43 -03:00
Brian Fraser fraserb@gmail.com
9dd124038b pqd: Merge --review-history into --review, added --review-table & --history-table 2013-01-21 12:40:46 -03:00
Brian Fraser
d6a7bf0cdb Remove the @INC shifts from the test files. This is no longer needed since the tools do their %INC mangling 2012-11-21 13:58:40 -03:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Brian Fraser fraserb@gmail.com
1645de13ae Normalize numbers in t/pt-query-digest/review.t
Otherwise, the change of notations from scientific to decimal
or the precision may lead to tests failing.
2012-06-04 13:17:41 -03:00
Baron Schwartz
6eba36898b fix some floating-point rendering problems 2012-06-03 22:09:37 -04:00
Daniel Nichter
a64bf961e8 Fix test counts. 2012-06-03 15:14:30 -04:00
Daniel Nichter
a2810a0ec1 Remove duplicate calls to Sandbox::ok(). 2012-06-03 14:38:21 -04:00
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Daniel Nichter
a0b54b145d Merge 2.1. 2012-06-03 13:29:02 -04:00
Daniel Nichter
7e880b0808 Call Sandbox::box() in all tests that use Sandbox. 2012-06-03 12:59:56 -04:00
Brian Fraser fraserb@gmail.com
53a6230e9c Bug 963225 v2: Updated tests and more samples 2012-03-30 17:21:48 -03:00
Daniel Nichter
eb01431399 Change MaatkitTest to PerconaTest in all tool tests. Add stub tests for pt-align and pt-collect. 2011-07-12 16:56:55 -06:00
Daniel Nichter
8e11cd85b3 Change mk_tool::main() to pt_tool::main() in all tests. 2011-06-29 11:56:49 -06:00
Daniel Nichter
b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00