Commit Graph

641 Commits

Author SHA1 Message Date
Brian Fraser
ad4d69b3e2 Removed local $EVAL_ERROR, added a test using t/lib/samples/broken_tbl.frm, and updated all modules 2012-10-30 19:02:03 -03:00
Brian Fraser
35f5f8d1e4 Fix for 1047335: SchemaIterator fails when it encounters a crashed table 2012-10-30 18:35:49 -03:00
Brian Fraser fraserb@gmail.com
6e3d3e6c96 Removed optional_value, made --version-check have default: off, updated the tools and documentation with the changes, and added the auto value to Pingback.pm 2012-10-30 12:42:42 -03:00
Brian Fraser fraserb@gmail.com
19f55542a2 Fix for 1059732: pt-table-checksum doesn't test all hash functions 2012-10-30 12:38:31 -03:00
Daniel Nichter
e69f1f24d0 Remove $Sandbox::Percona::Toolkit::VERSION and use $Percona::Toolkit::VERSION instead since it's the authoritative version. 2012-10-24 13:52:10 -06:00
Daniel Nichter
33f75e069d Fix some test plans. 2012-10-24 13:36:32 -06:00
Daniel Nichter
9b920bc5a5 Conditionalize the number of files expected: 14 or 15 depending on if the box has a default my.cnf somewhere. 2012-10-24 13:03:45 -06:00
Daniel Nichter
b6072ab011 Only cat cnf file > mysql-config-file if it exists. 2012-10-24 12:43:26 -06:00
Daniel Nichter
a94605c825 Use sys default cnf file since test machines have different ones. 2012-10-24 12:08:30 -06:00
Daniel Nichter
aacdd9db17 Rewrite find_my_cnf_file() so if a port is given only that port's cnf is returned, else nothing. 2012-10-24 11:17:34 -06:00
Daniel Nichter
af1240b6f6 Test cases. 2012-10-22 12:16:42 -06:00
Daniel Nichter
046c4c7cc0 Make CompareResults.t stable--yet another case of not waiting for replication. 2012-10-20 20:18:55 -06:00
Daniel Nichter
4a494d1a20 Remove all_privs tests. Update Percona::Toolkit::VERSION. 2012-10-20 17:59:28 -06:00
Daniel Nichter
be50548f3b Fix RawLogParser.t. Use diag in PerconaTest.pm. 2012-10-20 13:32:12 -06:00
Brian Fraser
5a9cc13d6f Fixes for the previous commit 2012-10-17 15:39:06 -03:00
Brian Fraser fraserb@gmail.com
1875066868 Fix and tests for 1062563 and 1063912: ptc+PXC bugs 2012-10-17 12:58:48 -03:00
Brian Fraser fraserb@gmail.com
df2278b95c Merged fix-903229-pt-mysql-summary-case-insensitivity-for-engines 2012-10-12 17:38:12 -03:00
Brian Fraser fraserb@gmail.com
b71ceeaadb Merged raw-log-parser-percona-22371 2012-10-12 14:19:55 -03:00
Daniel Nichter
5581dd8383 Make HTTPMicro.t test names unique. 2012-10-12 10:24:17 -06:00
Daniel Nichter
9f2f0f2c38 Sort items in Pingback.t like they're sorted in Pingback.pm to avoid failing tests on some platforms. 2012-10-06 11:39:02 -06:00
Brian Fraser
a7f5ac42c7 Merged fix-1016131-ptc-crash-with-columns 2012-09-26 18:15:24 -03:00
Brian Fraser
5594f2e64c HTTPMicro: Inline part of IO::Socket::SSL for cases when the local version of the module isn't high enough to support ->verify_hostname(), like in centos5 2012-09-24 16:24:36 -03:00
Brian Fraser
5d57905ef3 Merged changehandler-dont-hexify-text-cols, addendum to bug 1038276 2012-09-19 16:36:56 -03:00
Brian Fraser
ee338f7ceb v-c: Re-enable https by default, make --version-check take an optional protocol argument 2012-09-13 10:39:04 -03:00
Daniel Nichter
0e3eac65a0 Handle MySQL instance ID for MySQL 5.0. 2012-08-31 10:01:12 -06:00
Brian Fraser
a433fa7d1c Update modules and remove the $can_local_infile skips 2012-08-30 23:46:33 -03:00
Brian Fraser
8654ac0819 DSNParser: Always add mysql_local_infile=1 to the dsn string to enable client-side LOCAL INFILE 2012-08-30 23:46:06 -03:00
Brian Fraser
289035a303 Merged fix-1038995-bash-options-starting-with-no 2012-08-28 22:05:33 -03:00
Daniel Nichter
865cca3ea9 Merge v-c-update 2012-08-28 16:56:46 -06:00
Daniel Nichter
a3950411b9 Add back PerconaTest::slurp_file(). Put in scope in pt-index-usage. Sort MySQL instance IDs for testing. Wait for pid file in pt-heartbeat/basics.t. 2012-08-28 15:28:34 -06:00
Daniel Nichter
98338b6508 Simplify how Pingback handles MySQL instances. Remove Percona::Toolkit::slurp_file() because it was causing 'sub redefined' errors, probably due to PerconaTest::slurp_file(). Add more PTVCDEBUG statements. 2012-08-27 17:10:42 -06:00
Daniel Nichter
a08bf4c4fc Add code comments. Make Pingback.t tests more explicity. Don't '1 while unlink file'. Remove get_mysql_status() stub. 2012-08-27 15:19:35 -06:00
Brian Fraser fraserb@gmail.com
f312d2f439 Added the missing sample file 2012-08-27 15:43:27 -03:00
Brian Fraser fraserb@gmail.com
acc7c0296b Merged fix-952722-pt-summary-fio-cards 2012-08-27 15:37:43 -03:00
Brian Fraser fraserb@gmail.com
031cc1751c ChangeHandler: Don't hexify text columns.
As far as I understand, it doesn't make any sense to hexify text
columns; they break in many ways (you can't roundtrip the UTFs,
quote_val gets the hex quoting wrong, etc) and in any case,
the maatkit bugs about the feature are all about blob/binary
columns.

And, while a perilous excercise of genetic programming, removing
it didn't break any pt-table-sync tests, so this commit does
exactly that.
2012-08-27 15:04:51 -03:00
Daniel Nichter
3079f72935 Fix quote_val() calls in TableSyncNibble.pm by removing 2nd arg which was ignored anyway. Use more real tbl_struct in TableSyncGroupBy.t so auto-vivification doesn't cause sort_cols() to print the expected results. Remove have_all_privs() tests from TableSyncer.t. 2012-08-27 10:42:39 -06:00
Brian Fraser
b84ac535d2 Merged fix-1038276-changehandler-hex-looking-vals 2012-08-24 20:26:04 -03:00
Brian Fraser fraserb@gmail.com
548e01fddd Fix for 903229: pt-mysql-summary incorrectly categorizes databases 2012-08-24 20:18:36 -03:00
Brian Fraser
ea62bf87f7 Added missing .sql file 2012-08-24 20:12:41 -03:00
Brian Fraser
64f13e88da Merged fix-1035311-group-by-sample-devices-regex-interaction 2012-08-24 19:57:01 -03:00
Brian Fraser
d3ad517ce9 Merged fix-930693-changehandler-whitespace-text-cols 2012-08-24 19:54:05 -03:00
Brian Fraser
ee71455900 Merged fix-1037211-distill-lowercase-lock-tables 2012-08-24 19:52:26 -03:00
Brian Fraser
4eda3039dd Merged fix-1034717-divison-by-zero-base-1 2012-08-24 19:50:34 -03:00
Brian Fraser
ed7b497590 Report Rated PBW for fio cards 2012-08-24 19:39:58 -03:00
Brian Fraser
9f79d4b7ba v-c: Updated to identify and report every instance, and to skip instances already version-checked that day 2012-08-24 19:09:59 -03:00
Brian Fraser
878528b859 Fixed report_fio_minus_a and fio_status_minus_a to handle ioMemory and report internal temp, also fixed some bugs 2012-08-24 18:23:30 -03:00
Brian Fraser
24ae24a64e Fix for 952722: pt-summary to show information about Fusion-io cards 2012-08-24 17:01:47 -03:00
Brian Fraser
c444384c6c Fix for 1009510 and 1039569: pt-table-checksum doesn't check that tables exist on all replicas / shouldn't die if it can't create db/table 2012-08-23 03:14:14 -03:00
Daniel Nichter
154303bb89 Use simpler URL HTTPMicro vs. HTTP::Tiny comparison. 2012-08-22 16:27:52 -06:00
Daniel Nichter
7cd73be614 Merge 2.1 r364 (has lots of test fixes). 2012-08-22 15:00:19 -06:00