Daniel Nichter
ec4be9a883
Add and fix test case for special 'no query' events.
2012-12-10 18:07:36 -07:00
Daniel Nichter
fd6eef65c8
Merge fix-genlog-db-bug
2012-12-10 16:41:11 -07:00
Brian Fraser
22f09f6368
pt-find.t: Create a second, old-style sakila db to do the trigger/function/proc tests
2012-12-07 19:46:51 -03:00
Brian Fraser
9f4ce57301
Add a missing .* to the backtracking explosion fix for 823431
2012-12-07 19:20:29 -03:00
Daniel Nichter
a2eaed50e4
Fix pqd/read_time.t so it doesn't access non-existent pid files.
2012-12-07 11:46:09 -07:00
Brian Fraser fraserb@gmail.com
4eaf6e51f8
Merged experimental-fix-986847-pt-stalk-set-command
2012-12-05 21:15:20 -03:00
Brian Fraser fraserb@gmail.com
f8c7c7f2d4
Merged fix-1015590-pt-mysql-summary-percona-server-5.5
2012-12-05 21:10:22 -03:00
Brian Fraser fraserb@gmail.com
f2fdc7dd13
Merged fix-1007938-mysqlconfig-eol-comments
2012-12-05 20:43:40 -03:00
Brian Fraser fraserb@gmail.com
d24f054649
Merged fix-937234-pqa-wrong-res.001
2012-12-05 20:35:14 -03:00
Brian Fraser fraserb@gmail.com
2f7345f06b
Merged fix-1050737-1075638-ptc-division-by-zero-nibble_time
2012-12-05 20:32:25 -03:00
Brian Fraser fraserb@gmail.com
d5d90dad00
Merged fix-911385-schemaiterator-resume-plus-ignore-db
2012-12-05 20:30:29 -03:00
Brian Fraser fraserb@gmail.com
fa27779126
Merged fix-823431-pqa-hangs-large-query
2012-12-05 20:27:30 -03:00
Brian Fraser fraserb@gmail.com
3d263dd6ed
Merged fix-1007938-mysqlconfig-eol-comments, resolved conflicts
2012-12-05 14:46:32 -03:00
Brian Fraser fraserb@gmail.com
b6c9748656
Merged pxc-pt-mysql-summary
2012-12-05 13:57:13 -03:00
Brian Fraser
d2f1742606
Merged fix-917770-pt-config-diff-uninit-value-crash
2012-12-04 13:43:40 -03:00
Brian Fraser
a5d1021367
Rename "Cluster" to "Cluster Name" and "Node" to "Node Name"
2012-12-04 13:26:34 -03:00
Brian Fraser
ee607b1f25
Change the ordering in the PXC section
2012-12-04 00:39:34 -03:00
Daniel Nichter
6c9f4c0722
Fix sakila.sql so it loads on 5.0. Only wait 60s for replication for test-env start.
2012-12-03 20:06:47 +00:00
Brian Fraser
9522fae2f9
Added an extra test for section_percona_server_features on 5.1
2012-11-30 18:23:59 -03:00
Brian Fraser
a3527f748c
Fixed the Smooth Flushing report on 5.1, which was broken by the previous commit, and made it work on 5.5
2012-11-30 18:17:30 -03:00
Daniel Nichter
e69533e492
Test with MyISAM tables. Add PXC section to pt-archiver docs.
2012-11-30 19:25:35 +00:00
Brian Fraser
76a010abee
Fix for 917770: Use of uninitialized value in substitution (s///) at pt-config-diff line 1996
...
This turned out to be two bugs mangled into one.
First, _parse_varvals can deal with (var, undef), but not with (undef).
This is a problem because two of the trhee spots that call
_parse_varvals can return undef because of this:
map { $_ =~ m/^([^=]+)(?:=(.*))?$/ }
grep { $_ !~ m/^\s*#/ } # no # comment lines
split("\n", $mysqld_section)
The problem is twofold. First, we are not skipping empty or
whitespace-only lines. That means that the map will fail,
and pass an undef to _parse_varvals. So this ended up in
a triple fix: Make _parse_varvals deal with a sole undef,
skip empty/whitespace lines, and change that map to
map { $_ =~ m/^([^=]+)(?:=(.*))?$/ ? ($1, $2) : () }
so even if the regex fails in the future, no sole undef
will be passed down the chain.
2012-11-30 16:17:45 -03:00
Daniel Nichter
8343f6b1f7
Conditionalize dest.t for PXC.
2012-11-30 18:34:14 +00:00
Daniel Nichter
2da682dff3
Fix pt-archiver tests to work with PXC in cluster mode. dest.t is still a work in progress.
2012-11-30 18:16:11 +00:00
Daniel Nichter
f6fd2b7470
Only run t/pt-table-checksum/pxc.t if in cluster mode.
2012-11-30 18:14:06 +00:00
Daniel Nichter
a9ccca199d
Rewrite t/pt-archiver/pxc.t.
2012-11-30 18:13:25 +00:00
Daniel Nichter
065e0a8c5e
Merge 2.1 at r473.
2012-11-30 00:23:42 +00:00
Daniel Nichter
90a91cd384
Merge pt-osc-pxc-tests.
2012-11-29 17:10:51 -07:00
Daniel Nichter
8549fe5d99
Test and require wsrep_OSU_method=TOI.
2012-11-29 23:26:53 +00:00
Brian Fraser
98707e937c
pt-mysql-summary: Feedback from Fred & Jay; Display wsrep_slave_threads, and also parse & display pc.ignore_sb, pc.ignore_quorum, gcache.size, gcache.dir, gcache.name, all from wsrep_provider_options
2012-11-29 19:38:50 -03:00
Brian Fraser
2614eabd31
Merged fix-1074179-ptc-replicate-check-only-filters
2012-11-29 17:14:14 -03:00
Brian Fraser
cddead8a69
Merged fix-831525-pqd-mangled-help
2012-11-29 17:10:54 -03:00
Brian Fraser
713457226a
Merged fix-887638-ptqa-negative-at-byte
2012-11-29 17:09:33 -03:00
Brian Fraser
d496fbcf11
Tests for pt-archiver + PXC
2012-11-29 07:29:24 -03:00
Daniel Nichter
432b9e42b3
Remove time zone stuff from sakila.sql and update NibbleIterator.t tests.
2012-11-28 15:00:30 -07:00
Daniel Nichter
51f5466aef
Re-dump sakila.sql so it has the same ts so NibbleIterator.t doesn't fail. Consequently update 2 ptc tests now that mysql.proc is empty.
2012-11-28 14:39:19 -07:00
Daniel Nichter
824c34b5d2
Only check --alter if given. Fix some tests, add add_col to make some tests work on PXC or not.
2012-11-28 21:11:29 +00:00
Daniel Nichter
61b352a04d
Fix sandbox/load-sakila-db so it exits on error.
2012-11-28 17:55:35 +00:00
Daniel Nichter
7b330c4817
Add and use basic_no_fks_innodb.sql with PXC to avoid MyISAM bugs. Make query_table.pl handle deadlock on START TRANSACTION. Give alter_active_table.t tests unique names.
2012-11-28 01:32:31 +00:00
Brian Fraser fraserb@gmail.com
d47b9f1f95
pt-mysql-summary: Start reporting some PXC info
2012-11-27 19:05:45 -03:00
Brian Fraser fraserb@gmail.com
bb75e6a6b7
pt-mysql-summary: Make the "Instances" section work if the instances were started with --defaults-file
2012-11-27 18:19:47 -03:00
Brian Fraser fraserb@gmail.com
84043cee75
parse_options.sh: Make sure that --help works under sh
2012-11-27 18:05:53 -03:00
Daniel Nichter
5343d43528
Change basic_no_fks.sql back to MyISAM but with explicit aut-inc values.
2012-11-27 11:37:18 -07:00
Daniel Nichter
ea1c6f6ca9
Add lock_in_share_mode option to NibbleIterator. Silence query_table.pl diag messages.
2012-11-27 17:41:05 +00:00
Brian Fraser
b1e0aac38f
Fixed various failing tests
2012-11-21 17:04:42 -03:00
Brian Fraser
d6a7bf0cdb
Remove the @INC shifts from the test files. This is no longer needed since the tools do their %INC mangling
2012-11-21 13:58:40 -03:00
Brian Fraser
514feb296c
t/pt-archiver/issue_1229.t: Stop checking hardcoded indexes
2012-11-21 13:23:26 -03:00
Brian Fraser
98190d25e7
t/pt-archiver/issue_1225.t: Don't assume that the first two values in an autoinc table will have indexes 1 & 2
2012-11-21 13:23:05 -03:00
Brian Fraser
ef458d6bc2
t/pt-archiver/bulk_regular_insert.t: Stop checking hardcoded indexes
2012-11-21 13:22:25 -03:00
Brian Fraser
7efb2dbf37
t/pt-archiver/bulk_insert.t: Stop checking hardcoded indexes
2012-11-21 13:21:56 -03:00