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 |
|
Brian Fraser
|
df370f537c
|
t/pt-online-schema-change/alter_active_table.t: Add a test for renamed columns
|
2012-11-10 10:33:55 -03:00 |
|
Brian Fraser
|
ea936dd07a
|
t/pt-online-schema-change/basics.t: --statistics test outputs an extra line in 5.5
|
2012-11-09 13:44:21 -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
|
57b3706f1a
|
Fixed a bug in Quoter->split_unquote, added several tests for find_renamed_cols
|
2012-11-08 06:13:43 -03:00 |
|
Daniel Nichter
|
6d8d20faa1
|
Move rename column tests to rename_columsn.t.
|
2012-11-07 10:53:00 -07:00 |
|
Daniel Nichter
|
959c2ecf48
|
Simplify handling old/new cols by making @common_cols have {old=>col,new=>col} mappings. Manually merge bug 1062324 fix. Fix err/warn messages.
|
2012-11-07 10:26:57 -07:00 |
|
Daniel Nichter
|
530b8bbceb
|
Rename _find_renamed_cols() to find_renamed_cols() and add unit tests in find_renamed_cols.t. Tweak dry-run and error message re --check-alter.
|
2012-11-07 09:30:23 -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
|
7d64ca2113
|
Test that SQL_MODE isn't changed.
|
2012-11-01 11:46:54 -06: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
|
cb3fb74082
|
Fix for 1045317: Added a --statistics option to pt-osc
|
2012-10-30 21:45:52 -03:00 |
|
Brian Fraser
|
d5a3a6e59c
|
Update per Daniel's comments & some minor fixes
|
2012-10-30 15:15:38 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
fcf5fbcc6f
|
Fix for 1068562: pt-online-schema-change loses data when renaming columns
|
2012-10-30 11:50:13 -03:00 |
|