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
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
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
40fd007644
Update Quoter in all tools again.
2013-02-18 12:53:15 -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
8ecde260a7
Don't try https and http: use https if possible, else http. Lower timeout from 5 to 3 seconds. Start updating/fixing pt-archiver/version_check.t.
2013-02-14 09:41:52 -07:00
Daniel Nichter
877d1a3b26
Change version_check_file() to prefer global system dirs first.
2013-02-14 08:49:57 -07:00
Daniel Nichter
4545926556
Fix get_perl_module_version(). Add 'hours until next check' to debug output.
2013-02-14 08:28:18 -07:00
Daniel Nichter
6c79f4a5c1
Update, clean up VersionCheck. Update it all tools.
2013-02-13 20:57:39 -07:00
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