Commit Graph

128 Commits

Author SHA1 Message Date
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
Daniel Nichter
923e643b04 Skip skip_innodb.t tests with 5.6 because it seems like InnoDB can't be disabled any longer. 2013-02-18 18:17:38 -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
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
Daniel Nichter
b41ae476ae Only use LOCK IN SHARE MODE with MySQL 5.1+. 2012-12-11 16:54:24 +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
8549fe5d99 Test and require wsrep_OSU_method=TOI. 2012-11-29 23:26:53 +00:00
Daniel Nichter
824c34b5d2 Only check --alter if given. Fix some tests, add add_col to make some tests work on PXC or not. 2012-11-28 21:11:29 +00:00
Daniel Nichter
61b352a04d Fix sandbox/load-sakila-db so it exits on error. 2012-11-28 17:55:35 +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
Brian Fraser fraserb@gmail.com
31ca347984 Merged pt-osc-rename-active-column-test 2012-11-10 16:28:31 -03: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