Commit Graph

3706 Commits

Author SHA1 Message Date
Brian Fraser
a9661d09eb Fix for bug 1099836: pt-online-schema-change fails with "Duplicate entry" on MariaDB 2013-01-30 12:33:42 -03:00
Daniel Nichter
461d9ba45a Merge pk-del-bug-1103672-encore. 2013-01-30 08:07:19 -07:00
Daniel Nichter
93146ce58a Soften the warning about 'drop primary key' a little. 2013-01-30 08:04:19 -07:00
Daniel Nichter
680477ed58 Add 'DROP PRIMARY KEY' to --check-alter. 2013-01-29 18:16:38 -07:00
Daniel Nichter
7ec6abd684 Fall back to using pk/ui from orig table if new table del index uses cols that no longer exist in orig table. 2013-01-29 17:51:43 -07:00
Daniel Nichter
9e7248861d Catch and report aborted connects. 2013-01-28 14:12:48 -07:00
Daniel Nichter
ca3efc709a Merge fix-pt-heartbeat-2.1.8. 2013-01-25 11:30:39 -07:00
Daniel Nichter
15b1c43874 Fix and test parser_error_packet() for non-SQL errors. 2013-01-25 11:24:35 -07:00
Daniel Nichter
20ace5a9e9 Merge pt-stalk-quiet. 2013-01-24 12:23:24 -07:00
Daniel Nichter
b4cfe5b26c Fix error caused on some boxes by using diff when it's not defined. 2013-01-24 12:08:09 -07:00
Daniel Nichter
a56097fe6c Fix typo in t/pt-stalk/option_sanity.t. 2013-01-24 11:45:44 -07:00
Daniel Nichter
26cc08d3d9 Fix default log level in log_warn_die.sh. 2013-01-24 11:39:23 -07:00
Daniel Nichter
738359dd10 Update log_warn_die.sh in pt-ioprofile, pt-mysql-summary, and pt-summary. 2013-01-24 11:16:42 -07:00
Daniel Nichter
b196f50e60 Test --verbose. Remove global default OPT_VERBOSE from log_warn_die.sh so tool's option can set it. 2013-01-24 11:13:39 -07:00
Daniel Nichter
11fa16382c Add --verbose to pt-stalk. Change _print() to ts() in log_warn_die.sh. 2013-01-24 09:36:57 -07:00
Daniel Nichter
98ced1a035 Make add info() log_warn_die.sh and make the subs respect OPT_VERBOSE. Add more test harness subs in util/test-bash-functions. 2013-01-24 09:17:19 -07:00
Brian Fraser fraserb@gmail.com
457d61edfe Fix a broken test and make another more resilient to future changes 2013-01-24 12:11:11 -03:00
Brian Fraser fraserb@gmail.com
d1bdd4d80c Make pqd --output json have flags to enable sorted keys and prettyfied JSON 2013-01-24 12:00:48 -03:00
Daniel Nichter
9693f73e5e Merge cant-nibble-bug-918056. 2013-01-23 11:43:14 -07:00
Daniel Nichter
ecf3fe754e Fix upper oob test. 2013-01-23 11:03:12 -07:00
Daniel Nichter
91ce8bb3b1 Test syncing the upper oob chunk. 2013-01-23 10:42:19 -07:00
Daniel Nichter
7f7eaa2b10 Fix diff_where() for lower oob chunks. Add PT_TEST_NO_TRACE to remove /* trace messages */ from queries for testing, and remove trace messages from the sample output. 2013-01-23 10:15:08 -07:00
Daniel Nichter
dbf2ac477e Add failing tests for bug 918056. 2013-01-23 09:43:41 -07:00
Daniel Nichter
2cc48cb139 Implement --utc. 2013-01-22 16:51:33 -07:00
Daniel Nichter
ca8fc5e47e Add failling test for bug 1103221. Add --utc option, not implemented yet. 2013-01-22 16:22:59 -07:00
Brian Fraser
b21baeb5d8 pqd: Changed --resume to take a filename, added tests 2013-01-22 19:33:11 -03:00
Daniel Nichter
3dc0b19f7e Add env to jenkins-test. 2013-01-21 19:21:30 -07:00
Brian Fraser fraserb@gmail.com
8c5d8e4d3d t/pt-query-digest/issue_360.t: use --review-table 2013-01-21 13:20:10 -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
Daniel Nichter
ff41967afa Remove t/lib/TimeSeriesTrender.t 2013-01-19 12:57:37 -07:00
Daniel Nichter
57722889cb Add slow057.txt which has many distinct Time values. 2013-01-19 11:15:25 -07:00
Daniel Nichter
b532c0a3ba Add df -h and w to jenkins-test just in case. 2013-01-18 18:33:36 -07:00
Daniel Nichter
47f09d427a Merge simplify-pqd r542. 2013-01-18 18:29:38 -07:00
Daniel Nichter
06ce6e012e Fix --resume. 2013-01-18 17:44:07 -07:00
Daniel Nichter
fcb5a0c0f8 Merge lp:~percona-toolkit-dev/percona-toolkit/simplify-pqd r541. 2013-01-18 16:21:10 -07:00
Brian Fraser fraserb@gmail.com
4a06dc2008 Updated samples to get rid of the extra InnoDB: line removed by the refactoring 2013-01-18 10:20:59 -03:00
Brian Fraser fraserb@gmail.com
e466408c0d QueryReportFormatter: Resolve a hash ordering issue & fix an error introduced by the refactoring which was breaking two tests: checking if --report-histogram rather than --report-all 2013-01-18 09:47:05 -03:00
Daniel Nichter
f999686610 Fix Lmo::Types in pt-agent. Change Run->queries to query, Maybe[Str]. 2013-01-17 18:21:02 -07:00
Brian Fraser fraserb@gmail.com
86f9e302f5 Updated samples for t/pqd/output.t 2013-01-17 19:44:18 -03:00
Daniel Nichter
b0cf2e75a4 Make t/pt-archiver/file.t clean up after itself. 2013-01-17 15:43:23 -07:00
Brian Fraser fraserb@gmail.com
41f440518f Fixed the precisions for numbers in the json output 2013-01-17 19:40:58 -03:00
Daniel Nichter
ef9fba2f50 Fix util/update-modules so it doesn't leave tmp files lying around. 2013-01-17 15:09:52 -07:00
Brian Fraser fraserb@gmail.com
3d93f42bc7 Add missing if to the resume code 2013-01-17 15:10:53 -03:00
Daniel Nichter
16bb2d3c0e Restore r534 of pqd so it works for testing. 2013-01-17 09:17:48 -07:00
Daniel Nichter
27e6d025f8 Rewrite and clean up the docs to reflect maybe the new usage. 2013-01-16 13:30:50 -07:00
Brian Fraser
1f7e1c12e2 lib/JSONReportFormatter.pm: Change the json output struct to the new spec 2013-01-16 16:46:40 -03:00
Brian Fraser fraserb@gmail.com
e8a8ebbcac Changed the JSON output 2013-01-16 07:59:19 -03:00
Brian Fraser fraserb@gmail.com
1e8e8a8398 Make Transformers work if called with use 2013-01-16 07:56:04 -03:00
Brian Fraser fraserb@gmail.com
d1d1b04f6e Simplistic --resume implementation 2013-01-15 10:29:17 -03:00
Daniel Nichter
4c48ed16a5 Remove --spool-interval. This is done per-service now. 2013-01-14 16:43:22 -07:00