Commit Graph

916 Commits

Author SHA1 Message Date
Daniel Nichter
29c121a244 Merge handle-deadlocks-pt-osc. 2012-05-25 09:25:38 -06:00
Daniel Nichter
e88b59a809 Merge fix-pva-mysql-5.5-bug-898138. 2012-05-24 15:04:51 -06:00
Daniel Nichter
4b6fe95c6c Handle MySQL 5.5 named values for concurrent_insert. 2012-05-24 14:52:11 -06:00
Daniel Nichter
55d0dedce2 Merge fix-password-comma-bug-886077. 2012-05-24 11:39:27 -06:00
Daniel Nichter
c670ac4ba4 Update DSNParser in all tools. 2012-05-24 11:25:20 -06:00
Daniel Nichter
bb5d64b4a6 Remove \, from any DSN part (value or bareword). Document that DSN values must be escaped. 2012-05-24 11:20:38 -06:00
Daniel Nichter
026d95ac24 Separate DSN parts using escaped commas instead so bareword values work. 2012-05-24 10:56:04 -06:00
Daniel Nichter
15146353f9 Use regex to split DSN parts to allow commas in values. 2012-05-24 10:32:39 -06:00
Daniel Nichter
02c523d809 Merge fix-pqd-infinite-loop-bug-888114. 2012-05-23 16:13:19 -06:00
Daniel Nichter
491c076e75 Implement retry_on_error for Pipeline processes. Retry iteration proc twice, then fail completely. Fix mirror.t. 2012-05-23 16:07:05 -06:00
Daniel Nichter
74b1caa241 Failing test and XXX code comment about a bug used to test this bug. 2012-05-23 14:45:52 -06:00
Daniel Nichter
ccc2bfa33a Merge fix-sync-index-bug-1003014. 2012-05-22 11:53:13 -06:00
Daniel Nichter
46131ee7a4 Unset src tbl_struct when the db or tbl changes. Add test for just --replicate. 2012-05-22 11:47:24 -06:00
Daniel Nichter
ec43d0c0aa Add failing test in bugs.t. 2012-05-22 11:08:20 -06:00
Daniel Nichter
bad79ac4ab Merge fix-sync-ignore-bug-1002365. 2012-05-21 16:00:52 -06:00
Daniel Nichter
d0d296ee16 Use SchemaIterator for filtering --sync-to-master and --replicate. Return arrayref from TableChecksum::find_replication_differences(). 2012-05-21 15:50:40 -06:00
Daniel Nichter
2c5ea7c49d Failing test for --ignore-tables. 2012-05-21 11:00:36 -06:00
Daniel Nichter
82bebb40d4 Merge fix-ptc-mysql-5.5-bug-919499. 2012-05-18 09:52:34 -06:00
Daniel Nichter
0b0db9dee4 Fix 5.5 data file timestamps so they're not in the future. 2012-05-18 09:37:09 -06:00
Daniel Nichter
a618a41894 Make %ignore_code and %warn_code global to "fix" Perl 5.8 scoping/closure issue. 2012-05-18 09:05:43 -06:00
Daniel Nichter
d7b9ccf19b Add failing test. 2012-05-18 08:55:58 -06:00
Daniel Nichter
c9e4192798 Fix 5.5 sandbox data (mysql.help_topic was corrupt). 2012-05-17 14:02:12 -06:00
Daniel Nichter
6ded81c356 Merge recursion-method-none-bug-987694. 2012-05-17 10:18:39 -06:00
Daniel Nichter
85ab246323 Test pt-osc --recursion-method=none with user that can't SHOW SLAVE HOSTS. 2012-05-17 10:10:22 -06:00
Daniel Nichter
392f74fc60 Update MasterSlave in all tools and add "none" to --recursion-method docs. Tools pass their tests. 2012-05-17 08:54:36 -06:00
Daniel Nichter
e969d8d9f7 Implement and test --recursion-method=none in MasterSlave.pm and pt-table-checksum. 2012-05-17 08:11:30 -06:00
Daniel Nichter
64f4a5bdc0 Merge fix-osc-innodb-bug-996110. 2012-05-16 17:42:14 -06:00
Daniel Nichter
6d0e207af7 Check if innodb_lock_wait_timeout exists, don't crash. 2012-05-16 17:36:19 -06:00
Daniel Nichter
603a47d04f Merge fix-mktemp-bug-986151. 2012-05-16 11:42:05 -06:00
Daniel Nichter
d46285342a Use 6 X with mktemp to make it work on some platforms and update all tools. 2012-05-16 11:38:48 -06:00
Daniel Nichter
598726c2b2 Merge fix-osc-index-bug-994002. 2012-05-16 10:39:15 -06:00
Daniel Nichter
9967739fa4 Update NibbleIterator in pt-osc to fix it choosing the wrong index instead of the PK; add bugs.t to test this. 2012-05-16 10:04:52 -06:00
Daniel Nichter
6dfe1e39aa Merge fix-stalk-cycles-bug-994947. 2012-05-15 13:14:17 -06:00
Daniel Nichter
fd738b1e44 Set cycles_true=0 after collecting. 2012-05-15 13:10:24 -06:00
Daniel Nichter
350aa3a344 Merge fix-dupe-key-bug-894140. 2012-05-14 19:10:50 -06:00
Daniel Nichter
e932c89d9e Fix bug that caused not all "right keys" to be compared in certain cases. 2012-05-14 19:05:32 -06:00
Daniel Nichter
e946199534 Add --[no]drop-new-table. 2012-05-14 11:39:40 -06:00
Daniel Nichter
72d56e3c19 Catch Deadlock error and retry. 2012-05-14 11:31:26 -06:00
Daniel Nichter
d2361c5a44 Merge fix-diskstats-hdr-bug-994176. 2012-05-11 08:23:46 -06:00
Daniel Nichter
5a77e8c09c Fix scrolling header for --group-by=all. 2012-05-10 14:06:52 -07:00
Daniel Nichter
7fc8a3e989 Merge fix-empty-table-bug-987393. 2012-05-10 10:23:45 -06:00
Daniel Nichter
1c23b615b2 Add XXX comments where the Perl oddity is being used. 2012-05-10 10:21:44 -06:00
Daniel Nichter
f4957ba911 Use --chunk-size-limit || 1 for checking if a table can be done in one chunk to avoid chunking empty tables. Checksums for empty tables are now written. 2012-05-10 09:55:42 -06:00
Daniel Nichter
5079930b72 Merge change-diskstats-group-by-default-fix-bug-952727. 2012-05-09 07:48:59 -06:00
Daniel Nichter
715f0f86e1 Merge fix-undef-arrayref-bug-995274. 2012-05-08 17:02:58 -06:00
Daniel Nichter
884d02bc2a Lowercase index from EXPLAIN (unless it's PRIMARY) to match lowercase ident names from TableParser::parser(). 2012-05-08 16:51:35 -06:00
Daniel Nichter
7a7c0fe157 Merge ../fix-ptc-pk-bug-978432. 2012-05-08 12:47:54 -06:00
Daniel Nichter
30b6b88766 Restore original NibbleIterator and implement simpler solution: only use MySQL's chosen index if --where. 2012-05-08 12:43:47 -06:00
Daniel Nichter
9bb2311fc2 Add failing unit test. 2012-05-08 12:07:40 -06:00
Daniel Nichter
1f5245b524 Add failing test. 2012-05-08 11:23:19 -06:00