Commit Graph

2122 Commits

Author SHA1 Message Date
Daniel Nichter
15341b4e0e Fix --stats sample for < MySQL 5.5. 2013-02-28 19:00:07 -07:00
Daniel Nichter
2512add6e6 Fix typo. 2013-02-28 18:09:23 -07:00
Daniel Nichter
4877a10352 Retry rebuilding fk constraints. Update --retries docs. 2013-02-28 18:03:40 -07:00
Daniel Nichter
557a63232b Document and test --plugin. 2013-02-28 17:27:39 -07:00
Daniel Nichter
5b56f8fccc Retry metadata locks. Add --plugin to make testing this easier. Print --statistics in cleanup tasks. Add a helper script for myself: sandbox/set-mysql. 2013-02-28 12:29:17 -07:00
Daniel Nichter
b1e54cce8e Merge latest 2.2 for MySQL 5.6 fixes. 2013-02-28 08:54:31 -07:00
Daniel Nichter
310de04a56 Don't use /tmp in tempfile(). 2013-02-27 22:24:57 -07:00
Daniel Nichter
e290d91fec Fix t/pt-fifo-split/pt-fifo-split.t. 2013-02-27 22:23:07 -07:00
Daniel Nichter
c1a11168bc Fix t/pt-table-checksum/replication_filters.t fofor MySQL 5.6. 2013-02-27 21:59:34 -07:00
Daniel Nichter
2ffe8737a4 Fix pt-table-checksum/basics.t test that was affected by bug 1087804, and test for bug 1087804. 2013-02-27 19:44:37 -07:00
Daniel Nichter
56799ce06b Change msandbox@localhost to msandbox@% to fix pt-show-grants/basics.t. 2013-02-27 19:33:05 -07:00
Daniel Nichter
55049b8759 Fix Runtime.t and update it in all tools. 2013-02-27 19:23:08 -07:00
Daniel Nichter
c6958b497d First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing. 2013-02-27 18:47:00 -07:00
Daniel Nichter
2c4bd60fb7 Merge pt-fke-logger-2.2. 2013-02-27 16:41:28 -07:00
Daniel Nichter
785fbd6d6b Don't manually re-set AutoCommit. Use =for comment instead of inline MAGIC. 2013-02-27 16:39:51 -07:00
Daniel Nichter
9edaa3c4e2 Add the aforementioned InnoDB tables in mysql db. 2013-02-26 22:56:54 -07:00
Daniel Nichter
519ee42924 Fix MySQL 5.6 data again, this time manually loading all InnoDB tables in mysql db. 2013-02-26 22:55:29 -07:00
Daniel Nichter
140611c92e Use the same blurb for --pid in all tools. 2013-02-26 17:01:17 -07:00
Daniel Nichter
aed0140d64 Remove --daemonize from pt-config-diff. 2013-02-26 16:57:02 -07:00
Daniel Nichter
ae5280c232 Update Cxn in all tools and set parent accordingly. 2013-02-26 16:45:45 -07:00
Daniel Nichter
a21c36ac99 Test that ::parent keeps the dbh alive for the child. 2013-02-26 16:34:48 -07:00
Daniel Nichter
abcfd2c43f Merge pt-dl-logger-2.2. 2013-02-26 08:13:09 -07:00
Brian Fraser
934709abad Fix tests broken by the previous commit 2013-02-26 12:03:12 -03:00
Daniel Nichter
02a11d877f Make pt-dl-logger retry its --dest INSERT statement. Update the tool's docs. 2013-02-25 18:06:27 -07:00
Daniel Nichter
8b428e28a1 Mini-overhaul pt-deadlock-logger: change --interval default from undef to 30, add --iterations, remove --print, add --quiet, use explicit --columns default, remove --collapse, change default --clear-deadlocks table to percona_schema.clear_deadlocks, refactor the code, use Cxn and Runtime, remove some global vars. 2013-02-25 17:19:32 -07:00
Daniel Nichter
6825fa7f3b Add parent attrib to Cxn to fix forking after --daemonize. 2013-02-25 17:16:20 -07:00
Daniel Nichter
6aef3e7028 Mini-overhaul for pt-fk-error-logger: make --run-time standard, remove --print, add --quiet, add --iterations, change default --interval to 30, use Cxn and Runtime, reconnect to MySQL, eval the critical operation, rewrite/update the docs. 2013-02-25 11:55:06 -07:00
Daniel Nichter
65833726fd Add "SPECIAL OPTION TYPES" to percona-toolkit.pod. 2013-02-25 11:52:54 -07:00
Daniel Nichter
c3740b7aac Add Cxn::lost_connection(). Rename runtime to run_time in Runtime.pm. 2013-02-25 11:52:22 -07:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03: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
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03: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
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