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 |
|
Daniel Nichter
|
575c94b29e
|
Add --default-engine to pt-osc.
|
2012-10-22 08:44:44 -06:00 |
|
Daniel Nichter
|
b8f6db2045
|
Add failing test case.
|
2012-10-20 12:09:20 -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
|
ba786e9e11
|
Correct code comment.
|
2012-10-11 15:21:55 -06: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 |
|
Daniel Nichter
|
217a45df6f
|
Conditionalize top 5 slowest test files, saving 25%/5m * 15 configs = 1hr.
|
2012-08-12 10:16:52 -06: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
|
05f923545c
|
pt-osc: Make --quiet behave like in the other tools
|
2012-07-30 11:41:09 -03:00 |
|
Brian Fraser
|
e9c9608c33
|
pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
|
2012-07-11 17:31:03 -03:00 |
|
Brian Fraser
|
f38512c0d1
|
t/pt-online-schema-change/sanity_checks.t: use full_output()
|
2012-07-11 17:30:37 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
09c79c2596
|
t/pt-online-schema-change/alter_active_table.t: Don't bail out if there was a test failure.
|
2012-06-11 00:19:34 -03:00 |
|
Daniel Nichter
|
28637d8c95
|
Remove check_tables.t because it's from 2.0 (removed in 2.1 r228).
|
2012-06-10 22:31:48 -04:00 |
|
Daniel Nichter
|
f890ceafb7
|
Rename pt-online-schema-change/check_tables.t.THIS.
|
2012-06-10 13:23:06 -04:00 |
|
Baron Schwartz
|
47fb3d65e8
|
Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage.
|
2012-06-09 14:43:33 -04: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 |
|
Baron Schwartz
|
b9304dabb5
|
Fix a number of SQL queries to work with ANSI_QUOTES
|
2012-06-06 23:14:20 -04:00 |
|
Daniel Nichter
|
dac0731251
|
Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves().
|
2012-06-07 10:25:44 -04:00 |
|
Baron Schwartz
|
4af46e81f9
|
Make t/pt-online-schema-change/alter-active-table.t less fickle, but still not 100% fixed
|
2012-06-06 16:45:13 -04:00 |
|
Baron Schwartz
|
673058e012
|
put some feedback in t/pt-online-schema-change/basics.t for impatient testers
|
2012-06-06 13:15:33 -04:00 |
|
Daniel Nichter
|
7f8d07a615
|
Mke pt-online-schema-change/privs.t stable by waiting for drop user to replicate.
|
2012-06-05 15:53:43 -07:00 |
|
Daniel Nichter
|
04d6a51074
|
Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc.
|
2012-06-05 11:51:33 -07:00 |
|
Daniel Nichter
|
bdbb66d22b
|
Re-add calls to Sandbox::ok().
|
2012-06-03 13:54:32 -04:00 |
|
Daniel Nichter
|
a0b54b145d
|
Merge 2.1.
|
2012-06-03 13:29:02 -04:00 |
|
Daniel Nichter
|
7e880b0808
|
Call Sandbox::box() in all tests that use Sandbox.
|
2012-06-03 12:59:56 -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
|
bbe6125d8f
|
Validate --max|critical-load (work in progress).
|
2012-05-25 12:15:11 -06:00 |
|
Daniel Nichter
|
e27ad9b178
|
Test and fix --no-swap-tables and --no-drop-new-table.
|
2012-05-25 10:24:32 -06:00 |
|
Daniel Nichter
|
85ab246323
|
Test pt-osc --recursion-method=none with user that can't SHOW SLAVE HOSTS.
|
2012-05-17 10:10:22 -06:00 |
|
Daniel Nichter
|
6d0e207af7
|
Check if innodb_lock_wait_timeout exists, don't crash.
|
2012-05-16 17:36:19 -06:00 |
|