Brian Fraser
55a17166c6
Merged fix-1041391-rowchecker-wrong-debug-statement
2012-11-16 11:36:59 -03:00
Brian Fraser
06115737ee
Fix for 887638: pt-query-digest prints negative byte offset
2012-11-15 15:17:03 -03:00
Daniel Nichter
9b105ee2d2
Make GeneralLogParser.pm understand the "as" part of a Connect command.
2012-11-14 11:38:55 -07:00
Brian Fraser
c811d60ae1
Pushed the lib/Percona/Toolkit.pm version, and added extra tests to t/lib/Percona/Toolkit.t
2012-11-13 12:10:25 -03:00
Brian Fraser fraserb@gmail.com
22ec559b38
Fix for 986847: Allow setting which commands (and extra options) pt-stalk uses through env vars
2012-11-12 11:26:01 -03:00
Brian Fraser
57740c4101
Missing /g in a Quoter regex
2012-11-10 09:54:39 -03:00
Brian Fraser
b3dd48af15
Change the behavior to resume+ignore-databases to mimic resume+ignore-tables; now it starts from the next table.
2012-11-09 22:07:10 -03:00
Brian Fraser
cafb2b3fb5
Merged fix-1062563-1063912-ptc-pxc-bugs
2012-11-09 18:41:32 -03:00
Brian Fraser
511a402911
Merged fix-1047335-crashed-tables
2012-11-09 13:48:17 -03:00
Brian Fraser
d827c7228d
Merged OptionParser-remove-optional_value & updated modules
2012-11-09 13:31:13 -03:00
Daniel Nichter
da50daf0f7
Merge pt-osc-data-loss-bug-1068562
2012-11-08 16:38:07 -07:00
Brian Fraser
7beb0b518e
Reverted a few unnecessary changes
2012-11-08 17:47:00 -03:00
Brian Fraser
42a9cf4b6e
Merged fix-1062563-1063912-ptc-pxc-bugs and resolved conflicts, added the missing Percona::XtraDB::Cluster file
2012-11-08 17:38:04 -03:00
Brian Fraser
426d599566
Fix for 911385: pt-table-checksum v2 fails when --resume + --ignore-database is used
2012-11-08 13:42:29 -03:00
Brian Fraser
5e838050b6
Fix for 831525: pt-query-digest help output mangled
2012-11-08 13:38:09 -03:00
Brian Fraser
57b3706f1a
Fixed a bug in Quoter->split_unquote, added several tests for find_renamed_cols
2012-11-08 06:13:43 -03:00
Brian Fraser
4d9805a004
Fixed a bug in full_output
2012-11-08 06:12:29 -03:00
Brian Fraser
bb47e4cdcc
Removed the L option from the dsn_opts exported by PerconaTest, as it was useless and breaking tests, and added an L=1 to a leftover pt-archiver --bulk-insert call
2012-11-07 08:54:39 -03:00
Brian Fraser
86de49e727
Merged sandbox-get_dbh_for-fix
2012-11-07 04:13:50 -03:00
Brian Fraser
58b32bb5ef
Merged fix-1073532-Mo-Scalar-Util-PP
2012-11-07 04:12:37 -03:00
Brian Fraser
aa79c9df57
Moved the PXC-dealing parts of Cxn.pm into Percona::XtraDB::Cluster
2012-11-07 04:06:50 -03:00
Daniel Nichter
e8cfb37341
Move ptc PXC tests from bugs.t to pxc.t. Remove 2>&1 from Sandbox.pm shell-outs: we should let errors go to stderr so we can trap them. Fix skip count in Cxn.t for PXC tests.
2012-11-06 16:10:01 -07:00
Brian Fraser
d3c7a059e7
Fixes per Daniel's review
2012-11-06 11:35:49 -03:00
Daniel Nichter
ddda26fb7f
Merged fix-i26211-1058285-821722-implicit-ansi_quotes
2012-11-05 10:57:11 -07:00
Daniel Nichter
a0cd575c95
Merge fix-1009510-1039569-ptc-check-table-on-replicas
2012-11-05 10:54:21 -07:00
Daniel Nichter
0cffac95de
Simplify how ptc checks slave tables. Move that code from TableParser to pt_table_checksum::check_slave_tables. Change --[no]check-replicate-table-columns to --[no]check-slave-tables. Move tests to error_handling.t.
2012-11-02 15:22:47 -06:00
Brian Fraser
5fd150de31
Extra tweaks due to feedback from kaiwangchen: ; starts comments if at the start of a line
2012-11-02 01:58:12 -03:00
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