Commit Graph

1051 Commits

Author SHA1 Message Date
Daniel Nichter
07810ca867 Change --version-check to --[no]version-check, update POD text and how version_check() is called. 2013-02-13 16:06:31 -07:00
Brian Fraser
fd16bad016 pt-table-sync: Removed MySQLDump 2013-02-12 17:48:25 -03:00
Daniel Nichter
b6bd78d205 Rename Pingback.pm to VersionCheck.pm. 2013-02-11 19:02:59 -07:00
Brian Fraser
c02844a9d6 Merged merge-VersionCheck-Pingback 2013-02-11 22:21:53 -03:00
Brian Fraser
6bf3a35a1a Merged use-lmo.
This commit renames our fork of Mo to Lmo, since the two have diverged
a huge deal. The merged branch streamlined Lmo a great deal as well,
for maintainability.
2013-02-11 21:19:56 -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
Brian Fraser fraserb@gmail.com
be1d142d88 Updated modules for pt-osc and pt-table-sync 2013-02-01 14:39:33 -03: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 fraserb@gmail.com
809164becd Change the Report modules to use Lmo 2013-02-01 14:06:13 -03:00
Brian Fraser fraserb@gmail.com
d816c6497e Merged Lmo and updated everything that used it 2013-02-01 13:29:48 -03:00
Brian Fraser
10634cd27c Update files to use the merged Pingback+VersionCheck 2013-01-31 22:24:47 -03: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