Commit Graph

862 Commits

Author SHA1 Message Date
Daniel Nichter
4300f2908b Add pt-fingerprint. 2012-03-30 16:07:37 -06:00
Daniel Nichter
1b80d06c4a Merge fix-no-stalk-bug-955860. 2012-03-30 15:45:13 -06:00
Daniel Nichter
83b9d1e245 Merge fix-pt-upgrade-docs-bug-953461. 2012-03-30 15:24:30 -06:00
Daniel Nichter
a76d5df7fb Write very basic OUTPUT section for pt-upgrade. 2012-03-30 15:18:53 -06:00
baron
06dc18ec46 clean up a couple of things causing tests to fail for me, and remove a feature that's not quite ready yet, and add another feature for innodb compression 2012-03-30 17:07:05 -04:00
baron
d44e8b539b clean up a couple of things causing tests to fail for me, and remove a feature that's not quite ready yet, and add another feature for innodb compression 2012-03-30 17:04:25 -04:00
Daniel Nichter
427a069801 Test that vmstatu runs for --run-time with --no-stalk. 2012-03-30 15:02:45 -06:00
Brian Fraser fraserb@gmail.com
af5d9d7e90 Merged Baron's changes 2012-03-30 17:28:53 -03:00
Brian Fraser fraserb@gmail.com
562a550a39 Fixes 2012-03-30 17:23:55 -03:00
Brian Fraser fraserb@gmail.com
53a6230e9c Bug 963225 v2: Updated tests and more samples 2012-03-30 17:21:48 -03:00
baron@percona.com
6e9a483ee1 more slight doc tweaks 2012-03-30 15:46:14 -04:00
baron@percona.com
8e4d1fe005 docs and a few tweaks 2012-03-30 15:34:28 -04:00
Brian Fraser fraserb@gmail.com
b007016215 lib/Cxn.pm: Silence a warning (in 5.14)
I think this warning actually happens everywhere, but because of
how it happens, it gets masked by older versions of Perl.

Basically, Cxn's DESTROY method checks if $self->{dbh}, and if true,
calls ->disconnect on that. However, during global destruction --
when DESTROY is called -- you have no assurances that DESTROY
will be called before the dbh was already reaped.

This commit makes sure that the $self->{dbh} we have inside DESTROY
is actually a reference.
2012-03-30 16:03:04 -03:00
Brian Fraser fraserb@gmail.com
33954b72f9 Silence warnings from lib/QueryAdvisorRules.pm 2012-03-30 15:58:00 -03:00
Brian Fraser fraserb@gmail.com
8a4bc61a6b Fix test failures in t/lib/SQLParser.t from an lc() on a variable without a default on lib/Schema.pm 2012-03-30 15:47:37 -03:00
Daniel Nichter
94d9483d03 Make vmstat, iostat, and mpstat run for --run-time not --interval. 2012-03-30 11:35:32 -06:00
Brian Fraser fraserb@gmail.com
33a4096663 Fix CPU_ARCH collection for Linux 2012-03-30 13:44:21 -03:00
Daniel Nichter
c19c6caf0b Merge fix-quoting-bug-967451. 2012-03-30 10:42:18 -06:00
Daniel Nichter
98885c8150 Make t/pt-table-sync/check_privs.t reliable. 2012-03-30 10:39:16 -06:00
Daniel Nichter
a1cba706ec Update TableChunker in pt-table-sync, pt-upgrade, and pt-online-schema-change. 2012-03-30 10:37:16 -06:00
Daniel Nichter
688570de79 Quote chunk col in char chunk sql. 2012-03-30 10:31:36 -06:00
Daniel Nichter
a0fa29f30b Merge fix-risks-docs-bug-949653. 2012-03-30 10:09:47 -06:00
Daniel Nichter
8dc348baa1 Document risk of breaking replication if master-slave schemas or table structs differ. 2012-03-30 10:02:37 -06:00
baron@percona.com
26944c11cc Update samples and tests for SlowLogWriter.pm and SlowLogParser.pm for bug 963225 2012-03-29 22:16:53 -04:00
baron@percona.com
45b66a4e1a merge upstream 2012-03-29 21:47:58 -04:00
baron@percona.com
3f668362e7 fix a few bugs 2012-03-29 21:39:31 -04:00
baron@percona.com
f707656dee docs; small quoting fix 2012-03-29 21:26:22 -04:00
Daniel Nichter
296829b8e5 Add myself as a author. 2012-03-29 17:10:30 -06:00
Daniel Nichter
3d0cae5a60 Fix and test --alter-fk-method=none. 2012-03-29 16:53:11 -06:00
Brian Fraser fraserb@gmail.com
f8113b4676 A parse_ethtools() that actually works 2012-03-29 19:44:51 -03:00
Brian Fraser fraserb@gmail.com
996a76a68e pt-summary shouldn't leave empty files; both summary tools should
die if passed a --save-samples directory that has files in it.
2012-03-29 19:21:32 -03:00
Daniel Nichter
767aed2a95 Test MAX(pd_col) and AUTO_INCREMENT. 2012-03-29 16:06:12 -06:00
Daniel Nichter
382cb24367 Unset fk_alter_method if there's no child tables. 2012-03-29 15:35:08 -06:00
Daniel Nichter
a666576685 Merge Baron's doc and err msg changes. 2012-03-29 15:25:18 -06:00
Daniel Nichter
fcc3a44e23 Update alter_active_table.t and fix NibbleIterator to handle a growing table. 2012-03-29 15:23:38 -06:00
baron@percona.com
8cfcaf2636 terminology/docs update 2012-03-29 15:33:27 -04:00
baron@percona.com
8a29ad3960 terminology/docs update 2012-03-29 15:32:37 -04:00
baron@percona.com
571ca8cff6 documentation 2012-03-29 15:24:51 -04:00
Daniel Nichter
2dfb3318c2 Test sakila.staff using auto-chosen drop_swap. 2012-03-29 11:38:35 -06:00
Daniel Nichter
044b16f230 Change --update-foreign-keys-method to --alter-foreign-keys-method and make it required if there are child tables. Add 'auto' and 'none' (this one yet implemented) as methods. Fix drop_swap when it's auto-chosen. Test that the expected method is used. Exit 1 instead of 0 if user didn't specify required options. 2012-03-29 11:30:20 -06:00
baron@percona.com
d677436f73 Updated documentation, simplified code in some places 2012-03-28 23:44:26 -04:00
Daniel Nichter
1bdad7d647 Use unique trigger names. 2012-03-28 18:51:22 -06:00
Daniel Nichter
6c83106ce8 Use CleanupTask to ensure tool always, automatically cleans up. Move create triggers step before copy rows, to keep related code together. 2012-03-28 18:40:23 -06:00
Brian Fraser fraserb@gmail.com
9fbb796022 More tests for get_var 2012-03-28 15:59:16 -03:00
Brian Fraser fraserb@gmail.com
3ee8f9ba71 Fixed the Table Cache bugs.
Also makes t/lib/bash/collect_system_info.sh actually call setup_commands.
2012-03-28 15:29:57 -03:00
Brian Fraser fraserb@gmail.com
4bb5968c23 More fixes as per the reviews.
- Took out ${prefix}-
- get_var sanity
- pt-mysql-summary now follows pt-summary's suit and doesn't take
  in files to write to
- pt-summary defers setting the CMD_FOO vars to a function, as
  otherwise it would skip our PATH mungling.
2012-03-28 13:04:14 -03:00
Daniel Nichter
02b3574582 Add critical load to MySQLStatusWaiter.pm and pt-osc. Clean up the tool's docu. 2012-03-27 19:17:17 -06:00
Daniel Nichter
4c542a71fc Remove reminents of stuff copied in from pt-table-checksum. Handle errors properly in exec_nibble(). 2012-03-27 19:06:35 -06:00
Brian Fraser fraserb@gmail.com
ae6c1e3789 More fixes:
- pt-mysql-summary's --read-samples shouldn't need an active connection
- Bunch of pt-summary bugs, particularly several relating to disks.
2012-03-27 12:53:31 -03:00
Brian Fraser fraserb@gmail.com
64b52c9399 chmod +x pt-summary 2012-03-27 10:54:12 -03:00