Commit Graph

196 Commits

Author SHA1 Message Date
Daniel Nichter
792c3a6638 Use Data::Dumper so debug statement works. 2011-09-12 10:53:53 -06:00
Daniel Nichter
e2282b0f9e Add RowChecksum::get_crc_args(). 2011-09-12 10:29:26 -06:00
Daniel Nichter
0f05ca9b94 Fix multi-column index nibbling. Remove extra spaces in generated statements. 2011-09-12 08:14:57 -06:00
Daniel Nichter
3ed822e8e6 Implement dynamic chunk size, set_chunk_size(). 2011-09-12 07:32:19 -06:00
Daniel Nichter
0bb4497fbe Avoid recursion in main NibbleIterator loop. 2011-09-11 12:32:26 -06:00
Daniel Nichter
69cee0d26e Close all sths when obj is destroyed. 2011-09-11 11:41:59 -06:00
Daniel Nichter
985ee65928 Pass EXPLAIN sths to callbacks. 2011-09-11 11:10:11 -06:00
Daniel Nichter
f19472b471 Pass nibbleno to callbacks. 2011-09-11 10:48:53 -06:00
Daniel Nichter
8ce093655f Add dms arg, remove before_row callback, pass some args to callbacks, get next boundary if no rows (so exec_nibble callback can skip nibbles). 2011-09-11 10:22:40 -06:00
Daniel Nichter
84f7c47ff4 Rename new TableChecksum to RowChecksum and revert TableChecksum to r108. This will avoid completely break TableSync*.pm and pt-table-sync. 2011-09-10 13:46:55 -06:00
Daniel Nichter
968d10ac37 Refactor TableChecksum for NibbleIterator (use only BIT_XOR, return just column list, etc.). 2011-09-10 12:21:00 -06:00
Daniel Nichter
c989bd29dd First working NibbleIterator. 2011-09-09 17:29:28 -06:00
Daniel Nichter
7fde36a65b Create NibbleIterator. Cleanup TableNibbler. Fix bug in SchemaIterator. 2011-09-09 11:50:19 -06:00
Rodrigo Gadea
e9575dc006 Sidebar fix 2011-09-07 16:49:06 -03:00
Rodrigo Gadea
25db575c05 Applied Percona's Theme and markup refactory 2011-09-07 04:24:23 -03:00
Daniel Nichter
43aebffad1 Build percona-toolkit-1.0.1 2011-09-01 10:00:38 -06:00
Daniel Nichter
cdd5be4565 Update OptionParser in all tools. 2011-09-01 09:04:24 -06:00
Daniel Nichter
1373f69361 Fix OptionParser to parse new version format. 2011-09-01 09:01:34 -06:00
Daniel Nichter
dcceaae66b Fix typo: "TESTS" not "TEST" makes prove happy. 2011-09-01 08:46:50 -06:00
Daniel Nichter
3a111182eb Fix pt-sift to fetch and eval programs correctly. Lists these programs in the sys reqs pod section. 2011-08-31 11:28:01 -06:00
Daniel Nichter
25d47f2644 Quote > to make test not file. 2011-08-31 11:16:42 -06:00
Daniel Nichter
70a7a62c1f Use default values for disk pct full and mb free. 2011-08-31 10:31:46 -06:00
Daniel Nichter
7a9c4041a8 Fix build-packages. 2011-08-31 10:03:30 -06:00
Daniel Nichter
8c6f6a7f17 Remove "internal" bugs from Changelog. Make build-packages write simple version and update sphinx-build/conf.py. Make write-user-docs remove double blank lines. Remove pt-checksum-filter and other removed tools from user docs. 2011-08-31 09:44:31 -06:00
Daniel Nichter
52ef2062e6 Changelog for 1.0.1. Use simplest version string in all tools. 2011-08-31 08:19:18 -06:00
Daniel Nichter
e91aad978f Fix pt-index-usage save_results.t. 2011-08-27 12:47:55 -06:00
Daniel Nichter
28d374dbd5 Merge fix-bug-821673. 2011-08-27 12:34:10 -06:00
Daniel Nichter
d567e3d282 Restart slave1 so subsequent tests don't try to connect to phantom 12347. 2011-08-27 12:27:11 -06:00
Daniel Nichter
b2a982f9ea Update a test result that is now correct. 2011-08-27 12:22:49 -06:00
Daniel Nichter
c58bb85773 Pass --where to calculate_chunks(). 2011-08-27 11:41:58 -06:00
Daniel Nichter
3c6edf6d71 Update TableChunker in pt-table-checksum. Include COUNT in test samples. 2011-08-27 11:26:00 -06:00
Daniel Nichter
a7ab27bb54 Don't get min/max a 2nd time in _chunk_char(). Use where in _chunk_char(). Test char chunking world_city.name with real range stats. Add failing pt-table-checksum char chunk --where test. 2011-08-27 11:17:28 -06:00
Daniel Nichter
2e0f607589 Pass --where to get_range_statistics(). 2011-08-27 09:23:36 -06:00
Daniel Nichter
64c6ad418e Fix MockSyncStream.t for pre-DBD::mysql 4.001. 2011-08-24 11:37:45 -06:00
Daniel Nichter
fb8f3148f5 The last Daemon.t stabilizer? 2011-08-24 11:26:18 -06:00
Daniel Nichter
a1bee06edf One more stabilizer for Daemon.t. 2011-08-24 11:24:07 -06:00
Daniel Nichter
2c7257caff More stabilizing Daemon.t. 2011-08-24 11:20:27 -06:00
Daniel Nichter
e134aa665b Try to make Daemon.t more reliable. 2011-08-24 11:04:47 -06:00
Daniel Nichter
f9bfb641ca Skip ShowErrorStatement test unless DBD::mysql >= 4.003. 2011-08-24 10:13:11 -06:00
Daniel Nichter
dbe6de7f71 Handle if mkdir fails in start-sandbox. 2011-08-23 09:43:50 -06:00
Daniel Nichter
e93381d6b6 Make sandbox scripts simpler and more reliable. Remove "remove" option from stop-sandbox and update tests that used it. 2011-08-23 09:11:00 -06:00
Daniel Nichter
4715afc7c0 Update MasterSlave.pm in all tools. 2011-08-23 08:31:04 -06:00
Daniel Nichter
ff59f479e6 Add parentheses to avoid ambiguity. 2011-08-23 08:29:47 -06:00
Daniel Nichter
f2559cfd96 Quote large numbers to avoid Perl possibly using scientific notation. 2011-08-22 11:08:00 -06:00
Daniel Nichter
5b31ee0359 Remerge/push changes from r81. 2011-08-22 10:48:53 -06:00
Daniel Nichter
669957ae79 Test bug 819421. Cannot repro. 2011-08-22 10:45:09 -06:00
Daniel Nichter
c79c917fe7 Cat mysql log if sandbox fails to start. 2011-08-22 09:11:29 -06:00
Daniel Nichter
d9c89e3ff0 Add MySQL 5.0 output samples for SchemaIterator tests. Fix mk references in daemonizes.pl so Daemon.t passes. 2011-08-19 12:17:26 -06:00
Daniel Nichter
c6724c3e70 Merge bash-tool-testing. 2011-08-19 11:40:45 -06:00
Daniel Nichter
16fd794675 Merge trunk changes. 2011-08-19 11:31:16 -06:00