Commit Graph

263 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com b2312e068f SchemaIterator: Use different test files for 5.1 and 5.5 2012-06-04 23:24:50 -03:00
Brian Fraser fraserb@gmail.com 22de87c4eb t/lib/SchemaIterator.t: Ignore commas at the end of statements 2012-06-04 22:15:04 -03:00
Brian Fraser fraserb@gmail.com 939e9a84b6 t/lib/SchemaIterator.t: Samples for 5.5 and more robust fix for the ordering issue. 2012-06-04 21:48:55 -03:00
Baron Schwartz 7840006654 average row size is more variable than we used to believe 2012-06-04 10:33:07 -04:00
Baron Schwartz 9166ffc424 fix for mysql5.5 2012-06-04 10:09:37 -04:00
Baron Schwartz 636da6e755 skip failing test on 5.5 because it's a zombie 2012-06-04 08:13:20 -04:00
Baron Schwartz aec4ad69d3 fix test for MySQL 5.5's differences 2012-06-04 08:08:45 -04:00
Brian Fraser fraserb@gmail.com ccd1e58785 t/lib/SchemaIterator.t shouldn't assume that the order of the foreign key constraints is deterministic 2012-06-04 18:39:10 -03:00
Brian Fraser fraserb@gmail.com 1a47970469 Roll back the SchemaIterator samples change.
Turns out that the order isn't exactly deterministic; There's
something weird going on here, so this commit revers the
previous fix.
2012-06-04 18:23:31 -03:00
Brian Fraser fraserb@gmail.com 865b3e4e9d collect_system_info shouldn't assume that sysctl is available.
It isn't on CentOS 5.5. It didn't really assume that it
was always there, but rather than the produced samples file
would be.
2012-06-04 11:57:44 -03:00
Baron Schwartz 40017ec5bd Skip utf8 tests when DBD::mysql less than 4.0 2012-06-04 00:23:55 -04:00
Baron Schwartz eb1cc3da5e fix nondeterministic wait_for_master test 2012-06-03 22:18:44 -04:00
Baron Schwartz 48f642551e fix some problems that happen when there are many mysqld instances 2012-06-03 20:53:57 -04:00
Baron Schwartz da86c409da schema for mysql5.5 2012-06-03 20:53:52 -04:00
Daniel Nichter e8d9781123 Merge changes. 2012-06-03 14:51:03 -07:00
Daniel Nichter 696a3b5e68 Fix mem/file size shortening in pt-summary and pt-mysql-summary. 2012-06-03 14:49:35 -07:00
Baron Schwartz 9569e0d317 Fix schema tests for mySQL 5.5 changes 2012-06-03 17:47:32 -04:00
Baron Schwartz 219ff6b49b Fix the column size information for MySQL 5.5 changes 2012-06-03 17:30:24 -04:00
Baron Schwartz 6cc17a73c2 A few miscellaneous changes, including a fix for metadata locking and wipe_clean in Sandbox.pm 2012-06-03 17:20:12 -04:00
Brian Fraser fraserb@gmail.com 614befac1d Update the ordering of SchemaIterator's samples. 2012-06-03 16:50:08 -03:00
Daniel Nichter a64bf961e8 Fix test counts. 2012-06-03 15:14:30 -04:00
Daniel Nichter a2810a0ec1 Remove duplicate calls to Sandbox::ok(). 2012-06-03 14:38:21 -04:00
Baron Schwartz de4064f575 make NibbleIterator.t more flexible for differences in EXPLAIN estimates 2012-06-03 14:13:35 -04: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
Daniel Nichter 09ddcd641e Merge advisor-json-output and clean up pt-query-advisor docs. 2012-06-01 09:13:11 -06:00
Brian Fraser fraserb@gmail.com 7fb28b0081 Name the tests for 923896's fix 2012-05-30 11:36:44 -03:00
Brian Fraser fraserb@gmail.com 20d6ccff9e Fix for 923896 2012-05-27 23:28:35 -03:00
Daniel Nichter fcd8958fb7 Validate --max|critical-load early and strongly, and check that the var exists and is defined. 2012-05-25 15:27:23 -06:00
Daniel Nichter bbe6125d8f Validate --max|critical-load (work in progress). 2012-05-25 12:15:11 -06:00
Daniel Nichter 4b6fe95c6c Handle MySQL 5.5 named values for concurrent_insert. 2012-05-24 14:52:11 -06:00
Daniel Nichter 026d95ac24 Separate DSN parts using escaped commas instead so bareword values work. 2012-05-24 10:56:04 -06:00
Daniel Nichter 15146353f9 Use regex to split DSN parts to allow commas in values. 2012-05-24 10:32:39 -06:00
Daniel Nichter 491c076e75 Implement retry_on_error for Pipeline processes. Retry iteration proc twice, then fail completely. Fix mirror.t. 2012-05-23 16:07:05 -06:00
Daniel Nichter e969d8d9f7 Implement and test --recursion-method=none in MasterSlave.pm and pt-table-checksum. 2012-05-17 08:11:30 -06:00
Daniel Nichter 350aa3a344 Merge fix-dupe-key-bug-894140. 2012-05-14 19:10:50 -06:00
Daniel Nichter e932c89d9e Fix bug that caused not all "right keys" to be compared in certain cases. 2012-05-14 19:05:32 -06:00
Daniel Nichter 5a77e8c09c Fix scrolling header for --group-by=all. 2012-05-10 14:06:52 -07:00
Daniel Nichter f4957ba911 Use --chunk-size-limit || 1 for checking if a table can be done in one chunk to avoid chunking empty tables. Checksums for empty tables are now written. 2012-05-10 09:55:42 -06:00
Daniel Nichter 884d02bc2a Lowercase index from EXPLAIN (unless it's PRIMARY) to match lowercase ident names from TableParser::parser(). 2012-05-08 16:51:35 -06:00
Daniel Nichter 9bb2311fc2 Add failing unit test. 2012-05-08 12:07:40 -06:00
Daniel Nichter cc80f278d5 Code comment why MiB, GiB, etc. are used in shorten() and update that func in pt-summary and pt-mysql-summary. 2012-05-07 16:38:30 -06:00
Daniel Nichter fdfd305dc5 Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions. 2012-05-07 12:16:24 -06:00
Daniel Nichter 11bfeba0ea Remove unused developer test file. 2012-04-03 12:16:58 -06:00
Daniel Nichter 10a92ac6da Fix SchemaIterator.t by updating and adding 5.0 samples. 2012-04-03 10:38:53 -07:00
Daniel Nichter c3b99d17a1 Add func to col ident struct to fix QueryAdvisorRules.t. 2012-04-03 11:03:17 -06:00
Daniel Nichter dcec863988 Convert TableUsage.t from Maatkit to Percona Toolkit. 2012-04-03 10:47:01 -06:00
Daniel Nichter 0286631514 Merge summary-tools-2.1. 2012-04-03 10:14:55 -06:00
Daniel Nichter b0b65fd8fd Merge fix-log-parser-writer-bug-963225. 2012-04-03 09:56:11 -06:00