Commit Graph

18 Commits

Author SHA1 Message Date
Daniel Nichter
f0b7712528 Fix tests to work with new --set-vars, and change --lock-wait-timeout to --set-vars innodb_lock_wait_timeout in tests. 2013-03-02 10:17:23 -07:00
Daniel Nichter
c6958b497d First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing. 2013-02-27 18:47:00 -07:00
Daniel Nichter
680477ed58 Add 'DROP PRIMARY KEY' to --check-alter. 2013-01-29 18:16:38 -07:00
Daniel Nichter
7ec6abd684 Fall back to using pk/ui from orig table if new table del index uses cols that no longer exist in orig table. 2013-01-29 17:51:43 -07:00
Daniel Nichter
b41ae476ae Only use LOCK IN SHARE MODE with MySQL 5.1+. 2012-12-11 16:54:24 +00:00
Daniel Nichter
ddda26fb7f Merged fix-i26211-1058285-821722-implicit-ansi_quotes 2012-11-05 10:57:11 -07:00
Daniel Nichter
949cf31037 Set sql_mode='' before SHOW CREATE TABLE--don't bother with replacing certain values. Move and rewrite tests to ansi_quotes.t. 2012-11-01 11:31:31 -06:00
Brian Fraser
2bcc380c68 Fix for customer issue 26211 ($avg_rate might be zero), plus a fix for bug 1058285 (also related to 26211), and an emergent part of 821722: Several sql_modes implicitly turn on ANSI_QUOTES 2012-10-17 15:52:15 -03:00
Daniel Nichter
77485efdbc Use new tbl indexes to create delete trigger. 2012-10-11 15:20:53 -06:00
Brian Fraser
8626c07a99 Fix for 1041372: pt-osc and long table names 2012-08-30 18:39:53 -03:00
Brian Fraser fraserb@gmail.com
b5191a310a Fixes as per Daniel's review; Removed the --quiet usage inpt-osc's nibble_is_safe, as it was ptc cruft 2012-07-31 13:33:30 -03:00
Brian Fraser fraserb@gmail.com
62c74e1e76 Previous commit left an unfinished comment 2012-07-30 19:08:37 -03:00
Brian Fraser fraserb@gmail.com
1de45b70be pt-osc: Change --quiet back and remove the quietness checks 2012-07-30 18:35:24 -03:00
Brian Fraser fraserb@gmail.com
ba2ddf682b Changed all the pt-osc tests to use full_output, since output uses eval {} 2012-06-07 17:46:19 -03:00
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Brian Fraser fraserb@gmail.com
8e04e3df60 Fix for 1003315: dry-run + alter-fk-method = auto always fail. 2012-05-30 14:27:07 -03:00
Brian Fraser fraserb@gmail.com
56d3d9a3b5 Fix for 1002448 2012-05-27 23:18:50 -03: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