Daniel Nichter
3ebf357a1f
Don't crash if innodb_lock_wait_timeout doesn't exist.
2012-05-04 10:09:50 -06:00
Daniel Nichter
522d7836e8
Move --sleep to just before SELECT instead of between each row after SELECT.
2012-04-17 16:52:34 -06:00
Daniel Nichter
11bfeba0ea
Remove unused developer test file.
2012-04-03 12:16:58 -06:00
Daniel Nichter
7423162c87
Make pt-stalk.t a little more reliable.
2012-04-03 11:11:11 -07:00
Daniel Nichter
10a92ac6da
Fix SchemaIterator.t by updating and adding 5.0 samples.
2012-04-03 10:38:53 -07:00
Daniel Nichter
c3b99d17a1
Add func to col ident struct to fix QueryAdvisorRules.t.
2012-04-03 11:03:17 -06:00
Daniel Nichter
dcec863988
Convert TableUsage.t from Maatkit to Percona Toolkit.
2012-04-03 10:47:01 -06:00
Daniel Nichter
ca084ace0f
Remove a bzr backup file.
2012-04-03 10:30:05 -06:00
Daniel Nichter
0286631514
Merge summary-tools-2.1.
2012-04-03 10:14:55 -06:00
Daniel Nichter
b0b65fd8fd
Merge fix-log-parser-writer-bug-963225.
2012-04-03 09:56:11 -06:00
Daniel Nichter
0089f31a35
Merge pt-osc-2.1. Fix NibbleItertor.pm to work with OobNibbleIterator when resuming at oob boundaries (t/pt-table-checksum/resume.t was failing).
2012-04-03 09:33:10 -06:00
Daniel Nichter
c1feb83b96
Uncomment cleanup lines in alter_active_table.t.
2012-04-02 19:32:48 -06:00
Daniel Nichter
02e9d2eed9
Merge preserve-foreign-keys-bug-969726.
2012-04-02 18:22:51 -06:00
Brian Fraser fraserb@gmail.com
c0dedd19bf
- section() revamp
...
- Redirect STDERR for the collection part in both tools
- rm_tempdir in sigtrap
- A part of pt-mysql-summary still depended on the system being run,
rather than the samples being read. Now it works properly.
2012-04-02 19:25:17 -03:00
Brian Fraser fraserb@gmail.com
6dbbd6de3b
The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it.
2012-04-02 13:36:17 -03:00
Brian Fraser fraserb@gmail.com
761f8a5aac
Merge more of Baron's changes, also re-implement the MySQL Executables section
...
Plus other bugfixes.
2012-03-30 23:00:57 -03:00
Daniel Nichter
2bae569429
Don't use TABLE STATUS, use CREATE TABLE instead for the table's engine.
2012-03-30 18:46:08 -06:00
Daniel Nichter
1cd990a0f0
Update SchemaIterator in pt-table-sync. Make the module handle NAME_lc or not.
2012-03-30 18:15:54 -06:00
Brian Fraser fraserb@gmail.com
978b236985
Save the config file itself, not just its path.
2012-03-30 20:18:39 -03:00
Daniel Nichter
34602e89fe
Add pt-table-usage, copied and converted from mk-table-usage.
2012-03-30 16:45:10 -06:00
Daniel Nichter
4300f2908b
Add pt-fingerprint.
2012-03-30 16:07:37 -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
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
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
98885c8150
Make t/pt-table-sync/check_privs.t reliable.
2012-03-30 10:39:16 -06:00
Daniel Nichter
688570de79
Quote chunk col in char chunk sql.
2012-03-30 10:31:36 -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
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
fcc3a44e23
Update alter_active_table.t and fix NibbleIterator to handle a growing table.
2012-03-29 15:23:38 -06: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
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
0e4fa22d18
*-summary tools: Changes from the reviews. Tests for pt-mysql-summary not finished yet
2012-03-27 06:19:37 -03:00
Daniel Nichter
9c0e642443
Test pt-fingerprint.
2012-03-26 17:24:44 -06:00
Daniel Nichter
beaa9240e7
Rename preserve_embedded_numbers to match_embedded_numbers, and fingerprint_md5 to match_md5_checksums. Add corresponding options to pt-fingerprint.
2012-03-26 16:40:46 -06:00
Daniel Nichter
a81d25c489
Add fingerprint_md5 and preserve_embedded_numbers flags to QueryRewriter, used in fingerprint() to handle customer's requirements.
2012-03-26 10:45:46 -06:00