Commit Graph

965 Commits

Author SHA1 Message Date
Daniel Nichter
9c0e642443 Test pt-fingerprint. 2012-03-26 17:24:44 -06:00
Daniel Nichter
beaa9240e7 Rename preserve_embedded_numbers to match_embedded_numbers, and fingerprint_md5 to match_md5_checksums. Add corresponding options to pt-fingerprint. 2012-03-26 16:40:46 -06:00
Daniel Nichter
a81d25c489 Add fingerprint_md5 and preserve_embedded_numbers flags to QueryRewriter, used in fingerprint() to handle customer's requirements. 2012-03-26 10:45:46 -06:00
Daniel Nichter
240062f847 Add pt-fingerprint. 2012-03-26 10:06:10 -06:00
Daniel Nichter
dc229d76ff Auto-determine --update-foreign-keys-method unless specified. Auto-find --child-tables unless specified. Handle fk refs in different dbs. Increase chunk size limit from 2.0 to 4.0. Change 'drop_old_table' update fk method to 'drop_swap'. 2012-03-25 15:45:52 -06:00
Daniel Nichter
82aa518774 Remove new-table options and enhance error msg if creating new table fails. 2012-03-25 12:24:27 -06:00
Daniel Nichter
3589ec2c7c Test that fk constraints actually still hold. 2012-03-25 11:45:34 -06:00
Daniel Nichter
0207e712b8 Add sanity_checks.t. 2012-03-25 11:33:02 -06:00
Daniel Nichter
ff60040dc9 Quote LIKE literal. Add LOW_PRIORITY to INSERT. _d print every sql executed. Explain in comment why CREATE TABLE may fail expectedly. Move %ignore_code and %warn_code up one scope. 2012-03-25 11:00:33 -06:00
Daniel Nichter
45c1f3bfb6 Make NibbleIter query comments customizable. Update the module in pt-table-checksum and pt-osc. 2012-03-25 10:37:19 -06:00
baron@percona.com
686a511b22 comments for daniel 2012-03-25 11:09:05 -04:00
Brian Fraser fraserb@gmail.com
63064173a9 Correct test plans & add missing files 2012-03-24 16:27:47 -03:00
Daniel Nichter
d3ad8c84c0 Do not ever create --new-table. Rewrite basics.t. Add more debug statements. 2012-03-24 12:47:08 -06:00
Brian Fraser fraserb@gmail.com
3ffda5677b pt-summary for 2.1, also changes to pt-mysql-summary from Daniel's review 2012-03-24 14:20:09 -03:00
Daniel Nichter
7add482367 Improve error handling. Simplify output. Make --child-tables an array. Make --child-tables and --find-child-tables mutually exclusive. 2012-03-23 16:49:56 -06:00
Daniel Nichter
96206d4e0b Change --rename-table to --swap-tables. Make --progress work. Add --find-child-tables. Improve error handling and messages. Increase --retries from 2 to 3. 2012-03-23 11:16:46 -06:00
Daniel Nichter
8e6bd9c363 First working pt-osc 2.1 with --dry-run. 2012-03-22 18:52:14 -06:00
Daniel Nichter
d5832f65e0 Fully working but still untested pt-osc 2.1. 2012-03-22 12:04:41 -06:00
Daniel Nichter
f5b49769c3 First untested but mostly working pt-osc 2.1. 2012-03-22 11:29:29 -06:00
Daniel Nichter
20d2aa7a08 Make NibbleIterator check for options before using them. 2012-03-22 11:28:58 -06:00
Daniel Nichter
138e980b7e Add Cxn module and make util/check-tool happy. 2012-03-21 11:05:47 -06:00
Daniel Nichter
438ad4d6d5 Fix -c warnings. Die if any chunks fail to copy. 2012-03-21 10:52:21 -06:00
Brian Fraser fraserb@gmail.com
88a9a66946 pt-mysql-summary for 2.1 2012-03-20 18:29:35 -03:00
Brian Fraser fraserb@gmail.com
55c7248c54 (more syncing) 2012-03-20 17:16:06 -03:00
Daniel Nichter
a17bdd65d3 Rewriting pt-online-schema-change 2.1.1. Work in progress (this code doesn't work yet). 2012-03-20 13:34:16 -06:00
Brian Fraser fraserb@gmail.com
31afeb73b5 (temp commit, syncing up) 2012-03-20 11:21:16 -03:00
baron@percona.com
5a35e926bc Update docs for relay-log-space-limit 2012-03-19 15:48:43 -04:00
Daniel Nichter
f4c978c957 Build percona-toolkit-2.0.4 2.0.4 2012-03-07 15:41:54 -08:00
Daniel Nichter
5f95d06a58 Fix 'Bad substitution' error in util/build-packages. 2012-03-07 16:27:04 -07:00
Daniel Nichter
6eff465223 Fix more quoting in util/build-packages. 2012-03-07 15:59:01 -07:00
Daniel Nichter
d8618637b2 Fix quoting in util/build-packages. 2012-03-07 15:55:36 -07:00
Daniel Nichter
c5ea94574b Update Changelog for 2.0.4. 2012-03-07 15:18:25 -07:00
Daniel Nichter
78112fccec Update Daemon in all tools (bug 944420). 2012-03-07 14:44:43 -07:00
Daniel Nichter
fe3b5de233 Set TZ to make tests work on other boxes. 2012-03-07 10:22:38 -07:00
Daniel Nichter
14760f22d3 Fix trailing blank lines in samples. 2012-03-07 09:38:10 -07:00
Daniel Nichter
991d6c606b Fix samples for MySQL 5.0. 2012-03-07 09:35:50 -07:00
Daniel Nichter
e122b884e2 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-928226. 2012-03-06 14:18:51 -07:00
Daniel Nichter
293caf3376 Wait for unstable test. 2012-03-06 13:56:17 -07:00
Daniel Nichter
df0f793815 Fix pt-query-digest mirror.t from previous merges. 2012-03-06 13:23:20 -07:00
Daniel Nichter
b5160b4b71 Fix number of tests. 2012-03-06 13:16:42 -07:00
Daniel Nichter
9e79d0c151 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-941225. 2012-03-06 12:35:24 -07:00
Daniel Nichter
6730357d87 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-sift-pt-diskstats-options-fix-bug-945834. 2012-03-06 12:34:31 -07:00
Daniel Nichter
8aa52018a4 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-sift-pt-pmp-fix-bug-945836. 2012-03-06 12:33:42 -07:00
Daniel Nichter
c0eba8e4be Merge lp:~percona-toolkit-dev/percona-toolkit/pt-sift-processlist-aggregation-fix-bug-945842. 2012-03-06 12:32:30 -07:00
Daniel Nichter
584fc46102 Merge lp:~percona-toolkit-dev/percona-toolkit/meaningful-type-error-fix-bug-946438. 2012-03-06 12:31:46 -07:00
Daniel Nichter
1a1e38d4e4 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-lock-wait-timeout-bug-946776. 2012-03-06 12:30:58 -07:00
Daniel Nichter
89263e6465 Make test case-insenstive so it works on 5.0 as well as 5.1+. 2012-03-06 12:05:52 -07:00
Daniel Nichter
9506c17160 Use --lock-wait-timeout to set lock_wait_timeout. Warn only if set fails and server value > option value. 2012-03-06 11:50:48 -07:00
Brian Fraser fraserb@gmail.com
a252f5b7f8 Change a _d() introduced in previous commits to possily avoid crashes 2012-03-06 14:04:47 -03:00
Brian Fraser fraserb@gmail.com
51017de5d5 Load Encode before trying to use Encode::resolve_alias 2012-03-06 13:38:28 -03:00