Commit Graph

712 Commits

Author SHA1 Message Date
Brian Fraser
c711c57859 Test for 933465: pt-query-advisor false positive on RES.001 2012-11-07 09:51:35 -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
470c4b9d41 Add some extra safety to t/lib/Percona/Toolkit.t in case we are not ebing run under a bzr directory 2012-11-07 04:42:04 -03:00
Brian Fraser
02a21749b0 Added t/lib/Percona/Toolkit.t 2012-11-07 04:35:43 -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
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
4b5c8969f0 Fix for 937234: pt-query-advisor issues wrong RES.001 2012-11-01 05:33:35 -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
517ec595e9 Add missing log file 2012-10-31 06:51:49 -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 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