Commit Graph

3072 Commits

Author SHA1 Message Date
Brian Fraser
5e8f369ab7 pqd: Replaced --print with --output slowlog 2013-02-25 12:27:13 -03:00
Brian Fraser
3c02b4df9c Rebased clean-up-pqd-2.2 2013-02-25 12:18:06 -03:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Brian Fraser
9e2ce2197f pt-ms & pt-stalk: Enable the standard mysql options 2013-02-25 11:21:46 -03:00
Daniel Nichter
a23729c533 Remove unused modules like SysLogParser and PgLogParser. Start re-writing the docs. Remove some options to indicate where to simplify the tool more. 2013-02-22 11:51:21 -07:00
Daniel Nichter
45a21acc0c Merge enable-version-check-by-default. 2013-02-22 10:47:57 -07:00
Daniel Nichter
b286da993f Check for ../../.bzr for when a tool is ran as a module in a test. 2013-02-22 08:00:55 -07:00
Daniel Nichter
550bb3887a Add force => ->got('version-check') to tools. 2013-02-21 16:37:25 -07:00
Daniel Nichter
831197ba07 Update t/pt-query-digest/version_check.t. 2013-02-21 16:33:45 -07:00
Daniel Nichter
58dc45cf69 Update VersionCheck in all tools. 2013-02-21 16:12:09 -07:00
Daniel Nichter
364e08229d Test that --version-check works/is enabled by default. 2013-02-21 16:07:33 -07:00
Daniel Nichter
fc851caec8 Simplify checking for .bzr/ to auto-disable --version-check in dev and test envs. Update t/pt-archiver/version_check.t. Need to update all other tools... 2013-02-21 15:59:49 -07:00
Brian Fraser
f06f930498 pt-heartbeat: Add an option to handle running on servers with read_only=1 2013-02-21 08:11:28 -03:00
Brian Fraser
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03:00
Daniel Nichter
acf25127ad Update POD. 2013-02-20 19:45:12 -07:00
Daniel Nichter
87590982e1 Rename basics.t to compare_hosts.t. 2013-02-20 19:05:02 -07:00
Daniel Nichter
678ef00516 Change Stats header lines from = to - because it's not a query class. 2013-02-20 19:00:32 -07:00
Daniel Nichter
4eedd5ecc9 Implement Hosts section for each type of use-case. 2013-02-20 18:58:20 -07:00
Daniel Nichter
cfdfbd096b Update sample output with new report sections. 2013-02-20 18:24:12 -07:00
Daniel Nichter
cb9fe1fac3 Implement all MySQL log parsers. Add report sections, and --report. 2013-02-20 18:20:55 -07:00
Daniel Nichter
0fda528700 Test comparing results to host. 2013-02-20 11:41:42 -07:00
Daniel Nichter
4a4bee9cad Add FakeSth.pm. 2013-02-20 10:58:06 -07:00
Daniel Nichter
b591f0189b First working but not tested comparing against reference results. 2013-02-20 10:56:42 -07:00
Daniel Nichter
a4d771e991 Have ResultWriter.pm save the current db. 2013-02-20 09:37:43 -07:00
Daniel Nichter
144b4794b9 Rename results file results to rows and meta to results. Test more --save-results. 2013-02-20 09:20:17 -07:00
Daniel Nichter
92194f1711 Update samples and remove old tests. 2013-02-20 08:38:42 -07:00
Daniel Nichter
e62a02e0d3 Start testing --save-results. Let $cmd be a file in PerconaTest.pm. Remove 'at ... line N' from EventExecutor.pm errors. 2013-02-20 08:27:49 -07:00
Daniel Nichter
4cb51140f1 Scaffolding for saving and reading reference results. 2013-02-19 19:45:16 -07:00
Daniel Nichter
aeb26300cb Implement --upgrade-table (instead of --sys-schema). 2013-02-19 18:18:42 -07:00
Daniel Nichter
64d381d34a Test error diffs. 2013-02-19 17:22:52 -07:00
Daniel Nichter
dcdeb606c8 Test pt-upgrade host-to-host. Implement diff_query_times(). Export $test_diff from PerconaTest instead of doing diag() in no_diff(). 2013-02-19 17:03:50 -07:00
Daniel Nichter
bb3dfd27fd Remove .moved files. 2013-02-19 13:04:18 -07:00
Daniel Nichter
07b818b730 Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls 2013-02-19 13:01:58 -07:00
Daniel Nichter
1726cf2bb8 Hopefully redirect MySQL 5.6 warning about -ppassword in pt-table-checksum/error_handling.t to diag. 2013-02-19 07:58:33 -07:00
Daniel Nichter
7621d2c4ce Fix skip_innodb.t tests. 2013-02-19 07:53:19 -07:00
Daniel Nichter
36e8696479 Update diff_rows.t and diff_warnings.t. 2013-02-18 19:27:06 -07:00
Daniel Nichter
3f8e1a4ea6 Fix t/pt-table-sync/traces.t again. 2013-02-18 18:55:05 -07:00
Daniel Nichter
b795d7448c Add from 5.6 samples. 2013-02-18 18:51:44 -07:00
Daniel Nichter
5bb577a75b Stablize the annoyingi pt-table-checksum/basics.t tests that always change by insignificant amounts anytime we change something with sandboxes. 2013-02-18 18:51:14 -07:00
Daniel Nichter
923e643b04 Skip skip_innodb.t tests with 5.6 because it seems like InnoDB can't be disabled any longer. 2013-02-18 18:17:38 -07:00
Daniel Nichter
eb2585fb32 Various test fixes for MySQL 5.6.10 (which seems not to have mysql.hosts any longer). 2013-02-18 18:06:05 -07:00
Daniel Nichter
11a4edd8e8 Fix lib/Sandbox.pm for MySQL 5.6 too: don't checksum system and stat tables. Update 5.6 data.tar.gz with default data from 5.6.10. 2013-02-18 17:34:01 -07:00
Daniel Nichter
80d9ab9de0 Fix util/checksum-test-dataset to work with MySQL 5.6: don't checksum log and stat tables. 2013-02-18 17:28:12 -07:00
Daniel Nichter
2b73157967 Fix some minor test issues. 2013-02-18 13:54:25 -07:00
Daniel Nichter
40fd007644 Update Quoter in all tools again. 2013-02-18 12:53:15 -07:00
Daniel Nichter
6d1c96e445 Seralize empty list as undef. 2013-02-18 12:51:28 -07:00
Daniel Nichter
97f963c7f7 Remove warning from DSNParser if using UTF-8 and DBD::mysql < 3.0008 (r508). --version-check can catch this. 2013-02-18 12:44:02 -07:00
Daniel Nichter
a07c0c0a6a Updqte Quoter in all tools. 2013-02-18 12:31:18 -07:00
Daniel Nichter
58f4f06fbb Add /usr/local/bin to PATH in jenkins-test. 2013-02-18 12:17:32 -07:00
Daniel Nichter
846286d0a0 Add some pathalogical test cases and skip UTF-8 tests if DBD::mysql::VERSION <= 3.0007. 2013-02-18 12:01:26 -07:00