Brian Fraser
3cab0e1b95
Added t/pt-deadlock-logger/samples/bug_1082104.txt & changed the username regex per Daniel's comments
2012-12-12 02:43:30 -03:00
Daniel Nichter
f84ed48707
Remove pt-log-player, pt-tcp-model, and pt-trend.
2012-12-11 18:30:30 -07:00
Daniel Nichter
6c6ae95ea3
Use literal values instead of ? placeholders for CHANGE MASTER statement.
2012-12-11 17:23:06 -07:00
Brian Fraser
9c63f61725
PXC+pt-heartbeat tests
2012-12-11 18:47:00 -03:00
Daniel Nichter
b41ae476ae
Only use LOCK IN SHARE MODE with MySQL 5.1+.
2012-12-11 16:54:24 +00:00
Brian Fraser
7f68789e61
Merged fix-1086259-pt-kill-log-dsn-wrong-timestamps
2012-12-11 11:51:01 -03:00
Brian Fraser
2d78170c7a
Merged fix-1078887-DSNParser-set-vars-sql_mode-clobber
2012-12-11 11:48:44 -03:00
Brian Fraser
0681986dee
Merged fix-1022622-ptcd-case-sensitivity
2012-12-11 11:45:29 -03:00
Daniel Nichter
5aa853ad1f
Fix test plan.
2012-12-10 18:38:45 -07:00
Daniel Nichter
2f1bb594f9
Update SlowLogParser in pqd and add test case.
2012-12-10 18:11:59 -07:00
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
ea526799d3
Merge trunk r487.
2012-12-07 11:52:33 -07: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
Daniel Nichter
97e0529798
Rewrite t/pt-archiver/standard_options.t to make it reliable.
2012-12-06 10:02:24 -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
Daniel Nichter
2687857550
Fix pt-find.t by using new stored code that was removed from the new sakila.sql.
2012-12-05 14:45:56 -07:00
Daniel Nichter
dd333380f2
Ignore the new 5.6 mysql stats tables in SchemaIterator and update that module in all tools and updated affected samples.
2012-12-05 18:27:12 +00:00
Daniel Nichter
a672a1d98d
Add QUERY_CACHE_SIZE to start-sandbox. Make t/pt-upgrade/warnings.t use 12349 instead of 12348, and start it with QUERY_CACHE_SIZE explicitly so MySQL 5.6.8 works.
2012-12-05 10:52:12 -07: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
Daniel Nichter
0b25accdf6
Merge trunk r478.
2012-12-04 16:54:50 -07:00
Daniel Nichter
510efda1b3
Update ExplainAnalyzer.t, QueryReportFormatter.t, and SchemaIterator.t for MySQL 5.6.
2012-12-04 23:47:20 +00:00
Brian Fraser
2bc72fc139
Fix for 1086259: pt-kill in non-daemon mode logs timestamps incorrectly
2012-12-04 18:05:32 -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
9bd431e8b7
Use mysql.columns_priv instead of mysql.host as the empty table because mysql.host doesn't exist in 5.6.
2012-12-04 01:50:32 +00:00
Daniel Nichter
c094494f1f
Fix CMD_MYSQL and CMD_MYSQLDUMP in pt-mysql-summary so they can be specified on cmd line, then do so in pt-mysql-summary.t so mysqldump 5.6 is used with 5.6 because earlier versions don't work with MySQL 5.6.
2012-12-04 01:31:52 +00:00
Daniel Nichter
e441b571c3
Fix a pt-osc test by analyzing table to get accurate explain estimate.
2012-12-04 00:51:24 +00:00
Daniel Nichter
7d896e5c49
Add 5.6 sample for t/pqd/explain.t test.
2012-12-04 00:44:32 +00:00
Daniel Nichter
526a12438e
Fix pt-table-sync/basics.t data because timestamps in sakila.sql changed.
2012-12-04 00:34:56 +00:00
Daniel Nichter
e7c3e908bb
Create percona_test.sentinel in start-sandbox so wait_for_slave() works for other sandboxes. skip_all for skip_innodb.t with 5.6 because of http://bugs.mysql.com/67798 .
2012-12-04 00:14:20 +00:00
Daniel Nichter
cb640e2cad
Fix 5.6 data. Make start-sandbox load extra .sql files. Make ptc/basics.t pass on 5.6.
2012-12-03 21:08:42 +00:00
Daniel Nichter
9edf7bf471
Merge 2.1 r476.
2012-12-03 20:08:27 +00: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
d98f8e04c9
Fix for 1078887: Don't clobber the sql_mode set by the script with set-vars
2012-12-03 00:43:10 -03:00
Daniel Nichter
9b97298721
Don't use -pmsandbox because 5.6 mysql cli warns that it's not safe. Plus, /tmp/PORT/use already adds --defaults-file=/tmp/PORT/my.sandbox.cnf.
2012-12-01 11:17:18 -07: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