Commit Graph

237 Commits

Author SHA1 Message Date
Daniel Nichter
0d4d008f79 Update OptionParser in all tools. 2012-10-22 12:17:08 -06:00
Daniel Nichter
4a494d1a20 Remove all_privs tests. Update Percona::Toolkit::VERSION. 2012-10-20 17:59:28 -06:00
Daniel Nichter
f50d8e9120 Remove TableParser::check_table() privs check (re bug 1036747). 2012-10-19 17:14:07 -06:00
Brian Fraser fraserb@gmail.com
9e832790f8 LOAD DATA LOCAL INFILE: The hopefully final fix.
This introduces a L option to the DSNs of pt-upgrade and pt-archiver,
which turns on mysql_local_infile.
2012-10-17 19:19:44 -03:00
Daniel Nichter
309bc1f270 Build percona-toolkit-2.1.5 2012-10-08 22:02:17 +01:00
Brian Fraser
5594f2e64c HTTPMicro: Inline part of IO::Socket::SSL for cases when the local version of the module isn't high enough to support ->verify_hostname(), like in centos5 2012-09-24 16:24:36 -03:00
Brian Fraser
484fcb6a2f Minor update to --version-check: Let the user know if there were no suggestions 2012-09-24 16:24:11 -03:00
Brian Fraser
aa98b589b6 Build percona-toolkit-2.1.4 2012-09-20 10:59:16 -03:00
Brian Fraser
718bbedd4b Final update-modules before the release 2012-09-20 10:58:15 -03:00
Brian Fraser
5eb168b827 Fix for version-check in openSuSe 2012-09-14 09:33:52 -03:00
Brian Fraser
ee338f7ceb v-c: Re-enable https by default, make --version-check take an optional protocol argument 2012-09-13 10:39:04 -03:00
Brian Fraser
a433fa7d1c Update modules and remove the $can_local_infile skips 2012-08-30 23:46:33 -03:00
Daniel Nichter
26ca0281b5 Use --version-check instead (so it's _not_ on by default; it must be specified). 2012-08-29 14:23:41 -06:00
Daniel Nichter
865cca3ea9 Merge v-c-update 2012-08-28 16:56:46 -06:00
Brian Fraser
6eee6ac6f6 Update the rest of the modules to use the updated version_check 2012-08-27 22:30:48 -03:00
Daniel Nichter
98338b6508 Simplify how Pingback handles MySQL instances. Remove Percona::Toolkit::slurp_file() because it was causing 'sub redefined' errors, probably due to PerconaTest::slurp_file(). Add more PTVCDEBUG statements. 2012-08-27 17:10:42 -06:00
Brian Fraser
b84ac535d2 Merged fix-1038276-changehandler-hex-looking-vals 2012-08-24 20:26:04 -03:00
Daniel Nichter
e98db38499 Fix v-c --quiet check. Test v-c in pqd since it doesn't have --quiet. 2012-08-23 10:22:43 -06:00
Daniel Nichter
639f47eb70 Add t/pt-archiver/version_check.t, v-c integration tests. Don't exit early if PTDEBUG && PTVCDEBUG (don't know what state the tool may be in). 2012-08-22 16:20:00 -06:00
Daniel Nichter
66f1bdf403 Change staging.upgrade.percona.com to $ENV{PERCONA_VERSION_CHECK_URL} || http://v.percona.com. 2012-08-22 15:10:33 -06:00
Brian Fraser
f8fa5cd3e3 Updated Quoter and ChangeHandler in all the modules 2012-08-22 16:21:35 -03:00
Daniel Nichter
ee583ba729 Add $ENV{PERCONA_VERSION_CHECK}=0 to PerconaTest so tests don't version-check. Implement v-c in half the tools. Make util/update-modules clean up its temp files. 2012-08-21 16:15:44 -06:00
Daniel Nichter
a95aa2b3bc Put everything in Pingback::version_check(). Change HTTP::Micro to HTTPMicro in pingback(). Simplify time_to_check() a little and add more debug. Fix Pingback.t now that client response doesn't have TYPE and no response causes die. 2012-08-21 15:06:28 -06:00
Brian Fraser fraserb@gmail.com
615c5ad508 Fix several test failures by doing s/HTTP::Micro/HTTPMicro/ 2012-08-21 14:37:10 -03:00
Daniel Nichter
8db5b77a4e Change HTTPMicro to HTTP::Micro in Pingback to avoid 'subroutine redefined' errors. 2012-08-21 08:19:52 -06:00
Daniel Nichter
616a98f86c Add --[no]version-check, VersionCheck, Pingback, and HTTPMicro to tools having the version check feature. 2012-08-17 16:25:56 -06:00
Daniel Nichter
272473348c Remove _d from Percona::Toolkit because I can't get it to export correctly. Put Percona::Toolkit in most tools. 2012-08-17 12:35:12 -06:00
Daniel Nichter
f8c375a249 Build percona-toolkit-2.1.3 2012-08-03 19:41:41 +01:00
Brian Fraser
ce0ec9d4bd Merged fix-doc-bugs-1016127-934310-937225-1016114 2012-08-02 15:10:45 -03:00
Daniel Nichter
c80123f485 Merge fix-953141-recursion-method-array 2012-08-02 12:01:34 -06:00
Daniel Nichter
e6d31a666a Rewrite how MasterSlave handles --recursion-methods. 2012-08-02 10:57:36 -06:00
Brian Fraser
53a7537d11 Updated modules for all tools 2012-08-02 09:54:25 -03:00
Daniel Nichter
570b26de20 Remove LOAD DATA check from pt-archiver and pt-upgrade. Make test-env check if LOAD DATA works and PerconaTest export . Rewrite how pt-archiver/t/bulk_insert.t conditionalizes on LOAD DATA working. 2012-07-31 15:37:02 -06:00
Brian Fraser
192f38498c Removed the charset munging and made a note in the pt-archiver docs that the only legal charsets are those known by MySQL 2012-07-27 16:09:32 -03:00
Brian Fraser
61a65fcdbd DSNParser.pm: Work around MySQL not resolving encodings sanely.
For some reason, MySQL won't resolve iso-8859-1 or latin-1 as latin1,
and will die if you try to use through in, e.g., SET NAMES.
This commit makes DSNParser resolve those cases on its own
before calling SET NAMES.
2012-07-23 01:11:49 -03:00
Brian Fraser
5d8be022e9 Merge ubuntu-12-64-issues 2012-07-20 17:33:13 -03:00
Brian Fraser
bfa5f488fa Merged new-versionparser 2012-07-20 17:25:10 -03:00
Brian Fraser
81d541ec05 Update modules & cut the VP and Mo dependency from several tools 2012-07-19 13:22:45 -03:00
Brian Fraser
2611797c06 Restore mysteriously changed permissions to the tools 2012-07-13 03:50:41 -03:00
Brian Fraser
0d572c3a02 Some changes that somehow went missing during the merge 2012-07-13 03:30:05 -03:00
Brian Fraser
b696a2e44b bzr update'd the code for assorted VersionParser fixes 2012-07-13 01:55:56 -03:00
Brian Fraser
7f18bae253 Updated modules 2012-07-13 01:54:09 -03:00
Brian Fraser
30cc4892cf bzr update'd the code for assorted VersionParser fixes 2012-07-13 01:39:40 -03:00
Brian Fraser
541d001d2a Updated modules 2012-07-13 01:25:31 -03:00
Brian Fraser
f558b4b9da Fix 984915: DSNParser does not check return value of do() calls 2012-07-12 22:42:54 -03:00
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Brian Fraser
f9a29fed37 Updated all the tools to use the new VersionParser 2012-07-11 15:12:52 -03:00
Daniel Nichter
6d71b91bfe Build percona-toolkit-2.1.2 2012-06-12 07:06:39 -07:00
Brian Fraser fraserb@gmail.com
846f253661 Update all the modules 2012-06-11 22:08:42 -03:00
Daniel Nichter
ef65945111 Update all modules in all tools. 2012-06-11 15:48:00 -04:00