Commit Graph

112 Commits

Author SHA1 Message Date
Carlos Salguero
ae0dc0bba3 Revert "Merge pull request #206 from percona/PT-116"
This reverts commit c80955d5c0, reversing
changes made to 40d2fe969a.
2017-06-19 19:16:01 -03:00
Carlos Salguero
38702783a4 PT-144 Fixed Constraint name is too long 2017-05-23 12:33:55 -03:00
Carlos Salguero
4224fc7abf PT-116 Added --[no]use-insert-ignore 2017-04-20 15:31:33 -03:00
Carlos Salguero
f8bbf3b1b0 PT-94 Fixed updates to PK while osc is running 2017-03-14 17:16:30 -03:00
amontecillo
5ea2f6b27f Added tests for bug 1632522
Adjusted renamt_fk_constraints.t for new renaming logic
2016-10-14 17:12:07 -07:00
Carlos Salguero
ea7bd7f06a Merge pull request #135 from percona/pt-osc-fk-single-underscore-lp1498128
pt-osc doesn't apply underscores to foreign keys individually
2016-09-20 11:41:23 -03:00
Carlos Salguero
d24b5845ee Added test for bug-1613915 pt-online-schema-change 2016-08-21 22:10:09 -03:00
Carlos Salguero
3288185643 Revert "Merge pull request #107 from percona/bug-984057"
This reverts commit 417b24299c, reversing
changes made to 0b62ba26af.
2016-08-04 17:36:40 -03:00
Carlos Salguero
f8c91c2c3b bug-984057 Tests for --preserve-triggers 2016-07-05 16:27:25 -03:00
frank-cizmich
3f90f9ea82 pt-osc generate random table prefix after 10th try 2016-02-26 21:03:18 -03:00
frank-cizmich
7c0054fa5d DSNParser clobbered sql_mode variable set by user - lp1506748 2016-02-01 22:51:55 -03:00
Frank Cizmich
4b1b756f4c Merge pull request #60 from percona/pt-osc-recursion-method-error-lp1523685
pt-osc fixed recursion method dsn - lp1523685
2016-01-28 16:10:37 -03:00
frank-cizmich
b40469d913 pt-osc added --null-to-not-null option 2016-01-26 21:29:18 -03:00
frank-cizmich
6a4d33039c pt-osc fixed basics.t tests 2015-12-30 23:29:36 -03:00
frank-cizmich
0c18e8969b pt-osc fixed several test files for 5.7 compat 2015-12-30 16:08:00 -03:00
frank-cizmich
6186f942b2 pt-osc fixed recursion method dsn - lp1523685 2015-12-14 00:40:16 -03:00
Daniel Nichter
4eb1cd3a5c Update test output for --analyze-before-swap. 2015-11-03 15:33:21 -08:00
frank-cizmich
c0ea3179c3 pt-osc fixed fk underscore toggling lp1498128 2015-09-23 19:21:42 -03:00
frank-cizmich
21a9c35f5c pt-osc now limits size of contraint names 2015-08-06 15:19:27 -03:00
Frank Cizmich
2c7240bf49 Skipped another plan check. Skipped running explain when unnecessary. Added test. Fixed test that set check-plan off by default 2014-07-31 16:41:15 -03:00
Frank Cizmich
17b98f3a6d added missing auxiliary files for testing of issue 1315130 2014-07-06 19:11:54 -03:00
Kenny Gryp
ef313207dc Changes as requested by daniel in merge feedback:
- change to get_slave_lag
- if then else
- chop comments 80 char wide
2014-04-23 13:24:11 +02:00
Kenny Gryp
dc6f1442c8 pt-online-schema-chnage: Added plugin feature 'override_slavelag_check' which allows modules to create their own ReplicaLagWaiter callback.
I fixed the current tests.
2014-03-24 19:25:41 +01:00
Daniel Nichter
bfea5c0141 Fix inconsistent test. 2013-11-26 16:27:49 -08:00
Daniel Nichter
56a32fe50b Print info about slaves found. Print --progress when waiting for new table to replicate to slaves. 2013-11-26 16:23:52 -08:00
Daniel Nichter
1346757702 Test that the new table's charset can be changed. 2013-06-26 10:47:19 -07:00
Daniel Nichter
57f35b22b3 Test that new table inherits the old table's charset. Clean up bugs.t. 2013-06-26 10:14:46 -07:00
Daniel Nichter
00a2fc3e23 Add timestamp to lines indicating actions that might take awhile, e.g. "Dropping triggers...". 2013-06-25 12:52:03 -07:00
Daniel Nichter
df0eb984d7 Don't drop new table if there are any @triggers_not_dropped. 2013-06-07 13:51:29 -07:00
Daniel Nichter
150d4cbe53 Update sample file with --tries output. 2013-03-05 16:42:40 -07:00
Daniel Nichter
c1f3e130b1 Update samples with new output for --tries. 2013-03-05 16:25:12 -07:00
Daniel Nichter
15341b4e0e Fix --stats sample for < MySQL 5.5. 2013-02-28 19:00:07 -07:00
Daniel Nichter
557a63232b Document and test --plugin. 2013-02-28 17:27:39 -07:00
Daniel Nichter
5b56f8fccc Retry metadata locks. Add --plugin to make testing this easier. Print --statistics in cleanup tasks. Add a helper script for myself: sandbox/set-mysql. 2013-02-28 12:29:17 -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
e441b571c3 Fix a pt-osc test by analyzing table to get accurate explain estimate. 2012-12-04 00:51:24 +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
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
vagrant
e37d59877f Handle deadlocks properly in query_table.pl. 2012-11-21 07:57:25 -08:00
vagrant
537b36c73c Use InnoDB instead of MyISAM in basic_no_fks.sql. Make query_table.pl handle error on COMMIT. 2012-11-20 17:27:54 -08:00
Daniel Nichter
0670d27eb0 Merge pt-osc-default-engine 2012-11-10 10:18:02 -07:00
Brian Fraser
2c9ebf33e2 Missing sample file for a pt-osc test 2012-11-10 11:00:42 -03:00
Daniel Nichter
66c4c8b98b Merge fix-1045317-pt-osc-statistics 2012-11-09 08:44:09 -07:00
Daniel Nichter
1ec018fd82 Simplify and reword --statistics code, tests, and docs. 2012-11-08 18:05:02 -07:00
Daniel Nichter
da50daf0f7 Merge pt-osc-data-loss-bug-1068562 2012-11-08 16:38:07 -07:00
Brian Fraser
74cd9233c3 Tweaked the report format, which now includes the number of INSERTs 2012-11-06 14:22:56 -03:00
Daniel Nichter
ddda26fb7f Merged fix-i26211-1058285-821722-implicit-ansi_quotes 2012-11-05 10:57:11 -07:00
Brian Fraser
062f76ae33 Added a test for the second bug in customer issue 26211 2012-11-01 17:28:06 -03: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