Commit Graph

1361 Commits

Author SHA1 Message Date
Baron Schwartz
c4f45818f7 Fix debian lintian warnings (fixes bug 856024) 2012-06-11 11:47:40 -04:00
Daniel Nichter
381b0e1370 Update Changelog for 2.1.2. 2012-06-11 17:21:30 -07:00
Daniel Nichter
fa9cf03505 Add IndexLength.pm. 2012-06-11 11:47:03 -04:00
Brian Fraser fraserb@gmail.com
93cb6f8ebf Bug 912902: basename not guaranteed to work for Shell tools 2012-06-11 12:15:59 -03:00
Brian Fraser fraserb@gmail.com
87f32cc857 Sandbox.pm: Catch errors from shelled-out commands 2012-06-11 11:50:52 -03:00
Daniel Nichter
d46a89d810 Merge: t/pt-online-schema-change/alter_active_table.t: Don't bail out if there was a test failure. 2012-06-11 08:26:32 -04:00
Daniel Nichter
df6d382bb7 Merge ~percona-toolkit-dev/percona-toolkit/chunk-index-columns-opt. 2012-06-11 08:24:18 -04:00
Daniel Nichter
d2486ebdf6 Add --chunk-index-columns to pt-osc. 2012-06-11 08:15:48 -04:00
Daniel Nichter
823cedd9ba Add --chunk-index-columns to pt-table-checksum. 2012-06-11 08:07:18 -04:00
Daniel Nichter
583bc2957e Don't crash if N is > number of index columns. 2012-06-11 07:55:23 -04:00
Baron Schwartz
2e2374c523 remove some Maatkit documentation references in pt-archiver and pt-index-usage 2012-06-11 05:16:50 -04: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
970f7d7e64 Merge ~percona-toolkit-dev/percona-toolkit/explain-checksum-chunks. 2012-06-10 13:25:44 -04:00
Daniel Nichter
f890ceafb7 Rename pt-online-schema-change/check_tables.t.THIS. 2012-06-10 13:23:06 -04:00
Daniel Nichter
3ff68b157a Merge ~percona-toolkit-dev/percona-toolkit/stabilize-test-suite. 2012-06-10 13:22:26 -04:00
Daniel Nichter
f422dab969 Clarify --chunk-index name:n validation. 2012-06-10 13:10:41 -04:00
Daniel Nichter
1f861fa9f5 Fix docs about skipping chunks with bad plans. 2012-06-10 12:41:24 -04:00
Daniel Nichter
ad687ce77c Clarify --check-plan error message. 2012-06-10 12:19:15 -04:00
Daniel Nichter
75c79ae204 Implement --chunk-index name:n in pt-osc. Fix pod in pt-table-checksum. 2012-06-10 12:04:42 -04:00
baron@percona.com
1011eff2bb documentation for chunk-index and check-plan 2012-06-10 11:11:30 -04:00
Daniel Nichter
e82e1fc04e Update all modules in pt-osc (to add support for --chunk-index index:n). 2012-06-10 10:46:49 -04:00
Daniel Nichter
60063f17a0 Implement and test --chunk-index index:n. 2012-06-10 10:43:42 -04:00
Daniel Nichter
731fc3aa4e Update all modules in pt-table-checksum. 2012-06-10 10:02:27 -04:00
Daniel Nichter
272f963733 Remove --chunk-index-columns and extend --chunk-index instead to take INDEX:N value. Add n_index_values to TableNibbler. 2012-06-10 10:01:25 -04:00
Daniel Nichter
3c553665a2 Add stub --chunk-index-columns. 2012-06-10 09:15:41 -04:00
Daniel Nichter
2a92a0a0ff Check key_len for each chunk to ensure it doesn't decrease. Add --[no]check-plan. 2012-06-09 22:23:00 -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
Baron Schwartz
8e9dfeec68 Some fixes for ANSI SQL quotes 2012-06-07 14:53:47 -04:00
Brian Fraser fraserb@gmail.com
db8f834164 pt-osc: Remove the wait for triggers to replicate.
It wasn't needed; turned out to be a red herring chasing a
different bug.

-------------- This line and the following will be ignored 
--------------
modified:
  bin/pt-online-schema-change
unknown:
  bug-ptosc
  error
  oot.txt
  oot2.txt
  percona-testxSfjJBOj/
  ptoscbug.pl
1 shelf exists. See "bzr shelve --list" for details.
2012-06-07 23:36:54 -03:00
Baron Schwartz
f7c97e749e Make TableParser.pm handle ANSI quotes 2012-06-07 00:59:59 -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
Brian Fraser fraserb@gmail.com
e025b66bd2 pt-osc: Fix the __DIE__ handler to account for eval, also make sure to wait until the slaves replicate the triggers 2012-06-07 17:45:24 -03:00
Brian Fraser fraserb@gmail.com
63b31873e5 PerconaTest::full_output: Fix a bug in the returned status 2012-06-07 17:43:50 -03:00
Baron Schwartz
aa42210f72 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:36:07 -04: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
46fdc4be4e Fix general_log config for 5.5. 2012-06-07 12:51:44 -04:00
Daniel Nichter
17edb54398 Wait for changes to replicate in pt-table-sync/issue_634.t. 2012-06-07 12:45:01 -06:00
Daniel Nichter
fb64cdda99 Wait for changes to replicate in pt-table-sync/bugs.t. 2012-06-07 12:43:18 -04:00
Daniel Nichter
79c716d358 Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs. 2012-06-07 12:38:45 -04:00
Brian Fraser fraserb@gmail.com
8d4354090e Fix for #949630: pt-query-digest mentions a Subversion repository 2012-06-07 12:02:47 -03:00
Brian Fraser fraserb@gmail.com
03a9461daf Removed PerconaTest::{wait_until_no_lag|wait_until_slaves_running}, replaced them with Sandbox::wait_for_slaves 2012-06-07 12:00:40 -03: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
af38351e82 wait for slaves after load_file 2012-06-06 16:32:14 -04:00
Daniel Nichter
6614cae630 Make pt-table-sync/binlog_format.t stable. 2012-06-07 09:30:05 -04:00
Daniel Nichter
312169a4c0 Make t/pt-archiver/issue_1225.t by waiting for the table. 2012-06-07 08:11:25 -04:00
Baron Schwartz
9e4e97ca03 fix timing issue in t/pt-slave-delay/standard_options.t 2012-06-06 14:05:36 -04:00
Daniel Nichter
1283ceafdd Wait for slaves in pt-upgrade/rewrite_non_select.t to make it stable. 2012-06-06 23:25:51 -04:00
baron
a76143f772 fix a timing issue in pt-ioprofile.t 2012-06-06 22:55:19 -04:00