Commit Graph

1046 Commits

Author SHA1 Message Date
Brian Fraser
6e964261b7 update-samples on pt-ms 2013-03-06 14:13:05 -03:00
Brian Fraser
0efad73f3e Rearrange mysql options so that --defaults-file is always first, and remove default: localhost from pt-ms and pt-stalk, since parse_options.sh deals with defaults + config files for mysql options poorly 2013-03-06 12:52:17 -03:00
Brian Fraser
ebd83f5ba4 Minor fixes for compat 2013-03-05 11:32:21 -03:00
Brian Fraser
9e2ce2197f pt-ms & pt-stalk: Enable the standard mysql options 2013-02-25 11:21:46 -03:00
Daniel Nichter
c9aa9e8cbd Merge 2.1.9 fixes for pt-pmp. 2013-02-05 09:51:24 -07:00
Daniel Nichter
4c519735f7 Merge 2.1.9 fixes. 2013-02-05 09:47:17 -07:00
Daniel Nichter
f39285b3c8 Apply Alexey's pt-pmp patch. 2013-02-04 08:13:52 -07:00
Daniel Nichter
8dc976b96b Merge mysql-connect-errors-bug-1103045 (bug 1103045 and bug 823411). 2013-02-01 11:03:25 -07:00
Daniel Nichter
ea4dfa7605 Add Error_msg (but no Error_no) when client closes connection during handshake. 2013-02-01 10:58:27 -07:00
Daniel Nichter
572294540c Make 'Connect abort' errors just 'Connect' so all connect errors are lumped together. 2013-02-01 10:47:38 -07:00
Daniel Nichter
4840b9c3a8 Remove other instance of 'none' Error_no in MySQLProtocolParser.pm. 2013-02-01 10:41:36 -07:00
Daniel Nichter
cf74cd791e Only add Error_no to event if there is one. Don't stringify it either; set its type in pqd. 2013-02-01 10:26:45 -07:00
Brian Fraser
25e62aa305 Add Mo to pt-config-diff, pt-query-advisor, and pt-upgrade 2013-01-31 20:10:40 -03:00
Brian Fraser
5b9932ca28 Updated some files that still used the old ReportFormatter 2013-01-31 19:51:38 -03:00
Brian Fraser
efc89a6725 Merged simplify-pqd 2013-01-31 14:52:34 -03:00
Brian Fraser
4ea0317469 Merged fix-1099836-pt-osc-mariadb-2.1.9 2013-01-31 12:39:47 -03:00
Brian Fraser
5fd8042e35 Updated JSONReportFormatter to drop the hard dependency on JSON.xs and use Transformers::encode_json if JSON is not available 2013-01-30 17:56:19 -03:00
Brian Fraser
98f490492c Change JSONReportFormatter to handle versions of JSON.pm that don't add a newline at the end of the encoded json 2013-01-30 17:47:41 -03:00
Brian Fraser
dbbb699831 Update docs for pqd, make --create-review-tables work by default 2013-01-30 17:35:40 -03:00
Brian Fraser
c91246e1ca Fix for 1105077: pt-table-checksum: Confusing error message with binlog_format ROW or MIXED on slave 2013-01-30 13:30:31 -03:00
Brian Fraser
1283b5c8d0 Re-added comments to the skipped MariaDB warning in pt-osc, and ported back the changes to enable MariaDB sandboxes 2013-01-30 13:00:03 -03:00
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
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
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
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
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
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
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
06ce6e012e Fix --resume. 2013-01-18 17:44:07 -07: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
Brian Fraser fraserb@gmail.com
41f440518f Fixed the precisions for numbers in the json output 2013-01-17 19:40:58 -03: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
d1d1b04f6e Simplistic --resume implementation 2013-01-15 10:29:17 -03:00