Brian Fraser
6720831fd1
Merged fix-1059732-ptc-hash-functions
2012-11-02 01:23:59 -03:00
Brian Fraser
1aa154d6c6
Fix for 996069: Incorrect RES.001 when using aggregate functions
2012-11-02 01:18:10 -03:00
Brian Fraser
227dfa6ea7
Fix for 1015590: pt-mysql-summary not Percona Server 5.5-ready
2012-11-02 00:21:48 -03:00
Brian Fraser
78da81fea5
Fixed a typo and added some regression tests
2012-11-01 17:04:00 -03:00
Brian Fraser
7f557759a7
Updates per Daniel's review
2012-11-01 16:51:58 -03:00
Daniel Nichter
949cf31037
Set sql_mode='' before SHOW CREATE TABLE--don't bother with replacing certain values. Move and rewrite tests to ansi_quotes.t.
2012-11-01 11:31:31 -06:00
Brian Fraser
4b5c8969f0
Fix for 937234: pt-query-advisor issues wrong RES.001
2012-11-01 05:33:35 -03:00
Brian Fraser
ab0e418fff
Fix for 1041391: Debug statement for Chosen hash func prints undef
2012-11-01 04:38:18 -03:00
Brian Fraser fraserb@gmail.com
6840ce638e
Sandbox.pm: Make get_dbh_for die if it can't get a dbh, which should help to diagnose some test box failures
2012-10-31 13:48:20 -03:00
Brian Fraser fraserb@gmail.com
e6158cd2f8
Fix for 1073532: Mo doesn't work with Scalar::Util::PP
...
Unlike Scalar::Util, Scalar::Util::PP::looks_like_number shifts @_,
so calling it as &looks_like_number works differently in both
versions; see https://rt.cpan.org/Public/Bug/Display.html?id=80525
2012-10-31 12:04:30 -03:00
Brian Fraser
dce8db5be1
Fix for 823431: pt-query-advisor hangs on big queries
...
This was caused by a regex backtracking itself to a halt. The solution
was to add a positive lookahead that searches for the floating but mandatory
substrings that the regex needs; if those exist, then eventually it will
match, but if they don't, it'll fail quickly.
2012-10-31 06:48:54 -03:00
Brian Fraser
b9bfe6114c
Merged fix-821715-enable-local-infile-in-dsn
2012-10-30 22:12:57 -03:00
Daniel Nichter
376572e637
Merge fix-995896-cat-in-daemon
2012-10-30 17:04:22 -06:00
Daniel Nichter
c8b31431b0
Handle slurp_file error specifically. Fix Daemon.t test plans.
2012-10-30 16:57:06 -06:00
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
97d08198d8
Add MURMUR_HASH to the list of tested functions
2012-10-30 13:41:54 -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
b6072ab011
Only cat cnf file > mysql-config-file if it exists.
2012-10-24 12:43:26 -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
289366ebdf
Exit 1 on option errors.
2012-10-22 11:43:33 -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
Daniel Nichter
ca2675dd98
Merge fix-978133-remove-pqd-priv-checks
2012-10-19 17:17:56 -06:00
Daniel Nichter
f50d8e9120
Remove TableParser::check_table() privs check (re bug 1036747).
2012-10-19 17:14:07 -06:00
Daniel Nichter
11f9ddcbb2
Merge fix-pt-upgrade-select-bug-1060774
2012-10-19 16:32:51 -06:00
Daniel Nichter
baf85aeb21
Truncate col names to 64 chars in MockSyncStream::get_result_set_struct(). Update test sample file.
2012-10-19 16:13:13 -06:00
Brian Fraser fraserb@gmail.com
9e832790f8
LOAD DATA LOCAL INFILE: The hopefully final fix.
...
This introduces a L option to the DSNs of pt-upgrade and pt-archiver,
which turns on mysql_local_infile.
2012-10-17 19:19:44 -03:00
Brian Fraser
42a344f4cb
Updated the 'table has problems in replica' error and other tidbits, per Daniel's review
2012-10-17 17:40:31 -03:00
Brian Fraser
2bcc380c68
Fix for customer issue 26211 ($avg_rate might be zero), plus a fix for bug 1058285 (also related to 26211), and an emergent part of 821722: Several sql_modes implicitly turn on ANSI_QUOTES
2012-10-17 15:52:15 -03: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
4e833f3df3
Minimal PXC compat
2012-10-15 13:53:37 -03:00
Daniel Nichter
328b7f1e0e
Merge fix-deleting-empty-files-bug-1047701
2012-10-13 14:15:37 -06:00
Daniel Nichter
d04529a64b
Wait --run-time more for collector procs to finish, then kill them, then remove empty files.
2012-10-13 12:21:52 -06: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
bf49d2265f
Merge 2.1.5-release.
2012-10-12 11:09:46 -06:00
Daniel Nichter
b2cb95940f
Merge partial-fix-1063912-ptc-pxc-slaves/ -r403..405
2012-10-08 12:53:54 -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
484fcb6a2f
Minor update to --version-check: Let the user know if there were no suggestions
2012-09-24 16:24:11 -03:00
Brian Fraser
aa98b589b6
Build percona-toolkit-2.1.4
2012-09-20 10:59:16 -03:00
Brian Fraser
787718121f
Updated VersionCheck and Pingback to work on Windows
2012-09-20 10:54:55 -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
e418dad610
VersionCheck: Fixes for Gentoo and the BSDs
2012-09-18 01:19:39 -03:00
Brian Fraser
5eb168b827
Fix for version-check in openSuSe
2012-09-14 09:33:52 -03:00
Brian Fraser
62978c1446
Merged v-c-https-update
2012-09-13 21:01:51 -03:00