Commit Graph

4423 Commits

Author SHA1 Message Date
Carlos Salguero
82464dc256 Merge branch '3.0' of https://github.com/altmannmarcelo/percona-toolkit into 3.0 2018-06-13 11:48:08 -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
81582f3ce3 PT-1554 Fixed test for pt-query-digest + MySQL 8 2018-06-01 09:35:09 -03:00
Carlos Salguero
9d02b690e0 PT-1154 Fixed /pt-duplicate-key-checker/basics.t for MySQL 8 2018-06-01 09:32:26 -03:00
Roma Novikov
aa82c9c318 Update .travis.yml 2018-05-31 17:04:05 +03:00
Carlos Salguero
42b20e1ee0 Merge branch 'PT-1554_tests_for_ubuntu14' into 3.0 2018-05-31 10:57:30 -03:00
Carlos Salguero
97cdc1d14d PT-1554 Fixes for Ubuntu 14.04 tests 2018-05-31 10:57:00 -03:00
Tomislav Plavcic
819d41826e Merge pull request #342 from tplavcic/jenkins-report
Fix prove2junit.pl to better catch test errors for jenkins report
2018-05-31 14:31:53 +02:00
Tomislav Plavcic
90d818d574 Fix prove2junit.pl to better catch test errors for jenkins report 2018-05-31 14:13:01 +02:00
Carlos Salguero
0004bb7bbc PT-1554 (WIP) Tests for MySQL 8
There are tests failing but the sandbox doesn't crash
2018-05-30 21:25:28 -03:00
Carlos Salguero
b801dfa156 PT-1554 Fixed 2 tests for MySQL 5.7 2018-05-30 09:09:42 -03:00
Carlos Salguero
1a4c471a46 PT-1554 Fixed unstable test alter_active_table.t 2018-05-30 02:01:27 -03:00
Carlos Salguero
d62c2d0692 Merge pull request #341 from percona/PT-1554-ps5.6
PT-1554 Updated tests for MySQL 5.6
2018-05-30 00:32:55 -03:00
Carlos Salguero
47fe4379fa PT-1554 Fixed tests for slave-delay & 5.6 2018-05-30 00:32:06 -03:00
Carlos Salguero
4bfca1ac00 PT-1554 Fixed digest tests for 5.6 2018-05-30 00:28:46 -03:00
Carlos Salguero
f4e7230bbd PT-1554 fixed sandbox script for gtid with 5.6 2018-05-30 00:26:20 -03:00
Carlos Salguero
af62172435 PT-1554 Fixed test for pt-244 (change data dir) 2018-05-29 19:57:08 -03:00
Carlos Salguero
08b00e7fab PT-1554 Fix to run tests in a tmpfs 2018-05-29 18:07:05 -03:00
Carlos Salguero
6e9828795d Merge branch '3.0' into PT-1554-ps5.6 2018-05-29 17:48:53 -03:00
Carlos Salguero
6a39b12f4e PT-1554 Test for 5.6 2018-05-29 17:41:37 -03:00
Carlos Salguero
d3685c1ca8 Merge pull request #340 from tplavcic/jenkins-report
Update prove2junit.pl to group tests into testsuites in jenkins
2018-05-29 12:30:10 -03:00
Tomislav Plavcic
56fb394e32 Update prove2junit.pl to group tests into testsuites in jenkins 2018-05-29 17:15:11 +02:00
Carlos Salguero
123a599d3e Merge pull request #339 from percona/PT-1563
PT-1563 Fixed pt-show-grants for MySQL 5.6
2018-05-28 15:32:13 -03:00
Carlos Salguero
77afc948fc PT-1563 Updated changelog 2018-05-28 15:31:40 -03:00
Carlos Salguero
7666af3fbb PT-1563 Fixed pt-show-grants for MySQL 5.6
Also updated tests for MySQL 8.0+
2018-05-28 15:29:18 -03:00
Carlos Salguero
b2decb0f82 Merge branch '3.0' of percona.github.com:percona/percona-toolkit into 3.0 2018-05-28 12:49:23 -03:00
Carlos Salguero
a4293bbe9e Updated changelog 2018-05-28 12:49:06 -03:00
Carlos Salguero
eb689ef253 Merge pull request #338 from percona/PT-1554-ps-5.7
PT-1554 Fixed tests for Percona Server 5.7
2018-05-28 12:48:31 -03:00
Carlos Salguero
88ae2c3783 Merge pull request #337 from percona/fix_CMD_MYSQL_and_CMD_MYSQLDUMP
PMM-2569: Fix passing CMD_MYSQL and CMD_MYSQLDUMP.
2018-05-28 12:37:07 -03:00
Carlos Salguero
f3bca3af41 PT-1554 Fixed library report_mysql_info 2018-05-28 12:07:03 -03:00
Kamil Dziedzic
f5ed3d987c PMM-2569: Fix passing CMD_MYSQL and CMD_MYSQLDUMP. 2018-05-28 14:10:04 +02:00
Carlos Salguero
cb5e0077fd PT-1554 Trying to debug to find why t/pt-table-checksum/pt-136.t fails on docker 2018-05-26 21:58:28 -03:00
Carlos Salguero
abd84d03a8 PT-1554 Trying to debug to find why t/pt-table-checksum/pt-136.t fails on docker 2018-05-26 19:52:12 -03:00
Carlos Salguero
0be68be892 PT-1554 Test a fix for pt-136 & ps 5.7 2018-05-26 17:36:06 -03:00
Carlos Salguero
445d38f359 PT-1554 Test a fix for pt-136 & ps 5.7 2018-05-26 17:10:14 -03:00
Carlos Salguero
b9b152a395 PT-1554 Tests for ps 5.7 2018-05-26 15:07:38 -03:00
Carlos Salguero
b79a6c621b Merge pull request #336 from percona/PT-1554-ubuntu-16.04
PT-1554 Fixed tests for Ubuntu 16.04
2018-05-25 16:35:27 -03:00
Carlos Salguero
5afd9615de PT-1554 Updated test for pt-upgrade/save_results 2018-05-25 15:21:50 -03:00
Carlos Salguero
4c4ba955b7 PT-1554 Updated test for pt-upgrade/save_results 2018-05-25 15:15:43 -03:00
Carlos Salguero
6a4c4508d4 PT-1554 Fixed tests for pt-upgrade 2018-05-24 23:10:53 -03:00
Carlos Salguero
b345824169 PT-1554 Updated all tests for query-digest checksums 2018-05-24 20:29:11 -03:00
Carlos Salguero
e2cf183762 PT-1554 Updated pt-table-checksum var type
In different OSes, using BIGINT to store the checksum for a query, will
produce collisions and/or unstable values.
Because of this, I changed the type for the checksum field in the history
table from BIGINT to CHAR(32) and the checksum function is no longer
truncating the MD5_HEX result to 16 chars.
2018-05-24 15:57:21 -03:00
Carlos Salguero
b6040629cd PT-1554 Test a fix for query-digest checksums 2018-05-24 15:50:22 -03:00
Carlos Salguero
285588546d PT-1554 Test a fix for query-digest checksums 2018-05-24 15:46:46 -03:00
Carlos Salguero
2493c2485f PT-1554 Fix query digest history checksum 2018-05-24 15:02:12 -03:00
Carlos Salguero
dc5491e13e PT-1554 Tests query digest history 2018-05-24 14:36:36 -03:00
Carlos Salguero
b1663d0f20 PT-1554 Tests query digest history 2018-05-24 14:21:35 -03:00
Carlos Salguero
09cd07f58e PT-1554 Make QueryFormater consistent
In some OSes/Perl versions, the 'filtered' row is being printed with or
without decimals.
For example, in Ubuntu 16.04/Perl 5.22 it is 100.00 while in Ubuntu
18.04/Perl 5.26 it is 100.
To make it consistent for tests, add a default formating string for the
filtered row.
2018-05-23 15:28:28 -03:00
Carlos Salguero
cbe2333e92 PT-1554 Test fixes for QueryReportFormatter 2018-05-23 11:32:03 -03:00
Carlos Salguero
f0c947d9cf PT-1554 Test fixes for pt-archiver 2018-05-23 10:59:50 -03:00