Commit Graph

441 Commits

Author SHA1 Message Date
Daniel Nichter 4bd763b52c Merge staging-test-suite-error-fixes 2012-08-15 19:43:52 -06:00
Daniel Nichter 3369a6c37d Don't auto-vivify clustered_key hashref in PTDEBUG. 2012-08-15 16:24:19 -06:00
Daniel Nichter 8c963bb007 Merge lp:~percona-toolkit-dev/percona-toolkit/test-suite-noise 2012-08-15 13:30:50 -06:00
Daniel Nichter 9d809ce5ea Use int($flags) to prevent fcntl(F_SETFL) error. Clean up ReadKeyMini.pm and Diskstats.t. 2012-08-15 13:28:14 -06:00
Daniel Nichter 75295707de Disable tty check. 2012-08-15 13:06:38 -06:00
Daniel Nichter b5d7e7d0b6 More debug hacks. 2012-08-15 12:58:55 -06:00
Daniel Nichter 53c382730a See if STDIN is tty. 2012-08-15 12:52:34 -06:00
Daniel Nichter 523a74da36 More debug hacks. 2012-08-15 12:27:37 -06:00
Daniel Nichter d00702f193 Even more debug hacks. 2012-08-15 11:54:01 -06:00
Brian Fraser d2b854cd9d CleanupTask: Restore STDERR and STDOUT to what they were when the object was created 2012-08-15 14:00:52 -03:00
Daniel Nichter 4e4a28bff6 Debug hack for ReadKeyMini::cooked(). 2012-08-15 10:31:18 -06:00
Daniel Nichter b5ba79bb6d Collect df -k instead of df -h. Set log_error with abs path to fix failing t/lib/bash/collect.t test. 2012-08-14 09:11:41 -06:00
Brian Fraser ab8d26df4b Merged fix-883098-extra-processlist-fields 2012-08-02 15:12:59 -03: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 840ea44e71 Fix for 1016127: DBD::mysql install hint for OpenSolaris 2012-08-02 09:52:42 -03:00
Brian Fraser fraserb@gmail.com 654ebacf1c Fix for 883098: Extra processlist fields causing errors 2012-08-01 18:43:03 -03:00
Daniel Nichter cc3826f665 Fix more test output broken by percona_test.load_data. Tweak ptc/t/privs.t so it passes on my box. Fix new start/stop scripts: don't check ibdata1 because SKIP_INNODB may be used. Make PerconaTest::output() cleaner. 2012-08-01 14:58:52 -06:00
Brian Fraser fraserb@gmail.com a25b9eab40 MasterSlave: Rework how the recursion methods are checked & resolved
In part by removing the OptionParser usage out from get_slaves
and recurse_to_slaves and making them expect arrayrefs, thus
forcing our callers to deal with that, and in part by
splitting out the method-checking to MasterSlave::check_recursion_method
and the resolving (originally in find_slave_hosts) into
_resolve_recursion_methods.
2012-08-01 17:39:12 -03:00
Brian Fraser fraserb@gmail.com ad46ec779e Merged fix-889739-pt-cd-quoted-strings and added the new sample files 2012-08-01 15:02:28 -03:00
Brian Fraser fraserb@gmail.com dd14121c28 Merged fix-903510-pt-tcp-model-empty-requests-file 2012-08-01 14:56:10 -03:00
Brian Fraser fraserb@gmail.com 39ed356b50 Merged fix-977226-pt-summary-lsi-raid 2012-08-01 14:51:10 -03:00
Brian Fraser fraserb@gmail.com 66d6ed75c0 Merged fix-844880-variableadvisor-bin_log-checks 2012-08-01 14:47:50 -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 fraserb@gmail.com ba6253545d Merged fix-821703-processlist-null-state 2012-07-30 16:48:15 -03:00
Brian Fraser fraserb@gmail.com 3b1f3dbbe5 Fix for 977226: pt-summary doesn't detect LSI RAID control. Patch provided by Dave Juntgen (djuntgen) 2012-07-30 12:36:55 -03:00
Brian Fraser fraserb@gmail.com b93856a37d Fix for 903510: pt-tcp-model throws an error in --type=requests mode on empty file 2012-07-30 11:52:53 -03:00
Brian Fraser fraserb@gmail.com 4c5678876d Fix for bug 889739: pt-config-diff doesn't diff quoted strings properly 2012-07-30 11:50:42 -03:00
Brian Fraser fraserb@gmail.com 43708d7b65 VariableAdvisorRules: Check that log_bin is ON instead of doing log_bin ? 1 : 0 2012-07-30 11:44:28 -03:00
Brian Fraser fraserb@gmail.com 2f0812fb33 Merged ubuntu-12-64-issues 2012-07-30 11:30:05 -03: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
Daniel Nichter a07dc3c146 Merge fix-pt-osc-empty-table-bug-1020997 2012-07-26 16:49:40 -06:00
Daniel Nichter 2290827eee Stop nibbling if chunking but not first lower boundary because table is empty. Print test debug via diag(). 2012-07-26 16:44:24 -06: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 02c6421a25 Cxn.pm: Set NAME_lc by default 2012-07-22 23:37:39 -03:00
Daniel Nichter 487d14228b Handle --nofoo like --no-foo in parse_options.sh and update the Bash tools. 2012-07-21 11:57:53 -06:00
Daniel Nichter e1b39b3d5f Use TRUE/FALSE for typeless option values in --help. Update parse_options.sh lib in Bash tools. 2012-07-21 11:40:39 -06: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
Daniel Nichter 785de0cf57 Merge pt-kill-log-dsn. 2012-07-19 11:20:29 -06:00
Brian Fraser dfc271929c Style consistency: Use numeric operators (<, ==, etc) for version checks 2012-07-19 13:20:45 -03:00
Brian Fraser 64c14e18f4 Remove MySQL 4.0 checks from several libraries, losing the VP dependency 2012-07-19 13:19:26 -03:00
Brian Fraser de625a873c VersionParser.pm: Code comments 2012-07-19 12:12:28 -03:00
Brian Fraser 02665e802e VersionParser.pm: Quote SQL with q// 2012-07-19 12:08:28 -03:00
Brian Fraser 28894c3f1e Processlist.pm: parse_event assumed that STATE couldn't be NULL.
Probably an oversight, since the rest of the library already
dealt with that by treating it as an empty string.
2012-07-19 11:06:17 -03:00
Daniel Nichter e797e463c1 Use hostN intead of full hostname in Compare* summaries. 2012-07-17 16:47:33 -06:00
Daniel Nichter 28f50bbac5 Use host instead of Host. 2012-07-17 09:53:07 -06:00
Daniel Nichter b2fb12853f Add # HostN: <full hostname> to UpgradeReportFormatter header and use HostN in column instead. 2012-07-17 09:49:13 -06:00
Brian Fraser fraserb@gmail.com d826c7168b Merged fix-984915-unchecked-do-calls-dsnparser 2012-07-14 23:58:17 -03:00