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
Daniel Nichter
9674c6ad88
Add diag() for Bash tests. Diag 'ollect_mysql_info.t find_my_cnf_file gets the correct file' when it fails.
2012-08-22 14:50:11 -06:00
Daniel Nichter
f8a0eaaa7d
Wait for debug log if it was gotten.
2012-08-22 14:22:26 -06:00
Daniel Nichter
dbeaec77b6
Increase Bash wait_for_files from 3 to 30s. Wait for innodbstatus2 in collec.t.
2012-08-22 14:04:42 -06:00
Brian Fraser
d3eabbd511
Fix for the first bug in 1034717: Illegal division by zero if base == 1
2012-08-22 17:03:35 -03:00
Brian Fraser
e52ca00348
Fix for 1038276: ChangeHandler doesn't quote varchar columns with hex-looking values
2012-08-22 16:19:43 -03:00
Daniel Nichter
a95aa2b3bc
Put everything in Pingback::version_check(). Change HTTP::Micro to HTTPMicro in pingback(). Simplify time_to_check() a little and add more debug. Fix Pingback.t now that client response doesn't have TYPE and no response causes die.
2012-08-21 15:06:28 -06:00
Brian Fraser fraserb@gmail.com
e5b99fb41c
Pingback::_touch should update the [ma]time of the file
2012-08-21 17:00:32 -03:00
Brian Fraser fraserb@gmail.com
01937e6d9f
Implemented Pingback::time_to_check()
2012-08-21 16:50:12 -03:00
Brian Fraser fraserb@gmail.com
e9fc764e02
Fix a broken skip
2012-08-21 14:44:55 -03:00
Brian Fraser fraserb@gmail.com
615c5ad508
Fix several test failures by doing s/HTTP::Micro/HTTPMicro/
2012-08-21 14:37:10 -03:00
Brian Fraser fraserb@gmail.com
c2b006eeaf
Fix for 1038995: pt-stalk notify-by-email fails
2012-08-20 19:22:31 -03:00
Brian Fraser
c3fe755615
Fix for 1037211: QueryParser fails to distill LOCK TABLES in lowercase
2012-08-16 19:18:14 -03:00