Commit Graph

295 Commits

Author SHA1 Message Date
Carlos Salguero
2c1db036b5 BUG-1595678 Added --slave-user, --slave-password params 2016-07-06 19:04:21 -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
d1aaf7daa7 Merge pull request #30 from percona/pt-osc-meaningful-errors-1446928
Pt osc meaningful errors 1446928
2015-08-20 17:35:13 -04:00
Frank Cizmich
1d7a55e53e Merge pull request #26 from percona/pt-osc-chunk-size-limit-0-lp1441928
pt-osc chunk-size-limit=0 skips tables - lp1441928
2015-08-20 17:07:09 -04:00
frank-cizmich
c6432f21ef pt-osc chunk-size-limit=0 skips tables - lp1441928 2015-08-07 16:58:20 -03:00
frank-cizmich
21a9c35f5c pt-osc now limits size of contraint names 2015-08-06 15:19:27 -03:00
frank-cizmich
703f803ae6 pt-osc modified some comments 2015-07-24 11:28:27 -03:00
frank-cizmich
2e72b47e85 pt-osc avoid error loop - lp 1446928 2015-06-11 15:44:57 -03:00
Frank Cizmich
e8d7feff61 used output instead of full_output. merged bug tests into bugs.t 2014-08-05 12:49:53 -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
Frank Cizmich
44363d5b84 added fix for issue #1329422 pt-osc foreign-keys-method=none breaks constraints 2014-07-04 11:46:14 -03:00
Frank Cizmich
8eebecf559 asks for confirmation when using alter-foreign-key-method none - issue 1329422 2014-06-30 13:36:25 -03:00
Frank Cizmich
a86567e46b fixes child table recognition in other schemas - issue 1315130 2014-06-20 18:31:30 -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
708c530d5d removed the , which was added in a previous commit 2014-03-25 14:02:16 +01: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
171666a178 Test and fix --new-table-name. It works now. 2013-10-10 02:13:49 +00:00
Daniel Nichter
d4995b565d Add --[no]drop-triggers to pt-online-schema-change. 2013-10-09 13:23:10 -07:00
Daniel Nichter
8584f3b734 Fix call to undefined get() by removing it and simplifying the warning message. 2013-06-26 13:28:27 -07:00
Daniel Nichter
def86634f8 Add failing test case. 2013-06-26 13:17:01 -07: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
e5e6b1d9b9 Fix pt-heartbeat/pxc.t. Exit early in test-env if wget fails. Add APP=FORK|mysql to start-sandbox so it too works around the pxc mysqld -V bug; add FORK=pxc to start_sandbox() calls. 2013-03-08 10:07:05 -08:00
vagrant
664449b153 Do not 'REPLACE INTO percona_test.sentinel' in start-sandbox because it doesn't work with RBR. Fix pt-table-checksum/pxc.t re this, and make pt-osc/pxc.t better re this. 2013-03-07 13:17:01 -08:00
vagrant
634922553c Finish test for pt-osc on master replicating to cluster, altering table with foreign keys. 2013-03-06 11:28:13 -08:00
Daniel Nichter
3196e4b67d Add stub test for pt-osc on master replicating to cluster, altering table with foreign keys. 2013-03-06 10:46:23 -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
eefaeeb8cc Change --retries to --tries and enhance with per-operation format that also allows setting the wait between tries. 2013-03-05 16:18:02 -07:00
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
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
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
07b818b730 Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls 2013-02-19 13:01:58 -07:00
Daniel Nichter
7621d2c4ce Fix skip_innodb.t tests. 2013-02-19 07:53:19 -07:00