Commit Graph

910 Commits

Author SHA1 Message Date
Daniel Nichter
0fda528700 Test comparing results to host. 2013-02-20 11:41:42 -07:00
Daniel Nichter
4a4bee9cad Add FakeSth.pm. 2013-02-20 10:58:06 -07:00
Daniel Nichter
b591f0189b First working but not tested comparing against reference results. 2013-02-20 10:56:42 -07:00
Daniel Nichter
a4d771e991 Have ResultWriter.pm save the current db. 2013-02-20 09:37:43 -07:00
Daniel Nichter
144b4794b9 Rename results file results to rows and meta to results. Test more --save-results. 2013-02-20 09:20:17 -07:00
Daniel Nichter
92194f1711 Update samples and remove old tests. 2013-02-20 08:38:42 -07:00
Daniel Nichter
e62a02e0d3 Start testing --save-results. Let $cmd be a file in PerconaTest.pm. Remove 'at ... line N' from EventExecutor.pm errors. 2013-02-20 08:27:49 -07:00
Daniel Nichter
4cb51140f1 Scaffolding for saving and reading reference results. 2013-02-19 19:45:16 -07:00
Daniel Nichter
dcdeb606c8 Test pt-upgrade host-to-host. Implement diff_query_times(). Export $test_diff from PerconaTest instead of doing diag() in no_diff(). 2013-02-19 17:03:50 -07:00
Daniel Nichter
07b818b730 Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls 2013-02-19 13:01:58 -07:00
Daniel Nichter
36e8696479 Update diff_rows.t and diff_warnings.t. 2013-02-18 19:27:06 -07:00
Daniel Nichter
11a4edd8e8 Fix lib/Sandbox.pm for MySQL 5.6 too: don't checksum system and stat tables. Update 5.6 data.tar.gz with default data from 5.6.10. 2013-02-18 17:34:01 -07:00
Daniel Nichter
6d1c96e445 Seralize empty list as undef. 2013-02-18 12:51:28 -07:00
Daniel Nichter
97f963c7f7 Remove warning from DSNParser if using UTF-8 and DBD::mysql < 3.0008 (r508). --version-check can catch this. 2013-02-18 12:44:02 -07:00
Daniel Nichter
6f735bfb3a Largely working, but un-tested, pt-upgrade 2.2 for host-to-host comparison. Add EventExecutor.pm. 2013-02-15 19:50:54 -07:00
Daniel Nichter
550a97b9c2 First working scaffolding and fondation of host-to-host comparison. 2013-02-14 19:33:58 -07:00
Daniel Nichter
8ecde260a7 Don't try https and http: use https if possible, else http. Lower timeout from 5 to 3 seconds. Start updating/fixing pt-archiver/version_check.t. 2013-02-14 09:41:52 -07:00
Daniel Nichter
877d1a3b26 Change version_check_file() to prefer global system dirs first. 2013-02-14 08:49:57 -07:00
Daniel Nichter
4545926556 Fix get_perl_module_version(). Add 'hours until next check' to debug output. 2013-02-14 08:28:18 -07:00
Daniel Nichter
6c79f4a5c1 Update, clean up VersionCheck. Update it all tools. 2013-02-13 20:57:39 -07:00
Daniel Nichter
0be24a3b8d Misc work-in-progress updates to pt-agent, Agent and Config resources. Config will change again. Make Client::put() return Location header like POST. 2013-02-13 13:45:52 -07:00
Daniel Nichter
13172a05dc Add untested warning to DSNParser if using UTF-8 and DBD::mysql < 3.0008. 2013-02-12 19:09:25 -07:00
Daniel Nichter
0fd4f27289 Simplify and re-test Quoter::(de)serialize_list(). 2013-02-12 12:58:26 -07:00
Daniel Nichter
e677ae8483 Update to 2.2 with VersionCheck, renamed from Pingback. 2013-02-11 19:06:31 -07:00
Daniel Nichter
b6bd78d205 Rename Pingback.pm to VersionCheck.pm. 2013-02-11 19:02:59 -07:00
Daniel Nichter
c1fe363631 Merge latest 2.2 with Lmo. 2013-02-11 18:57:07 -07:00
Brian Fraser
c02844a9d6 Merged merge-VersionCheck-Pingback 2013-02-11 22:21:53 -03:00
Brian Fraser
6bf3a35a1a Merged use-lmo.
This commit renames our fork of Mo to Lmo, since the two have diverged
a huge deal. The merged branch streamlined Lmo a great deal as well,
for maintainability.
2013-02-11 21:19:56 -03:00
Daniel Nichter
5530e7ab17 Stripping down pt-upgrade; work in progress. 2013-02-09 14:20:38 -07:00
Daniel Nichter
50a82a4ef8 Merge 2.1.8 and 2.2. 2013-02-05 10:22:31 -07:00
Daniel Nichter
c9aa9e8cbd Merge 2.1.9 fixes for pt-pmp. 2013-02-05 09:51:24 -07:00
Daniel Nichter
4c519735f7 Merge 2.1.9 fixes. 2013-02-05 09:47:17 -07:00
Daniel Nichter
8dc976b96b Merge mysql-connect-errors-bug-1103045 (bug 1103045 and bug 823411). 2013-02-01 11:03:25 -07:00
Daniel Nichter
ea4dfa7605 Add Error_msg (but no Error_no) when client closes connection during handshake. 2013-02-01 10:58:27 -07:00
Daniel Nichter
572294540c Make 'Connect abort' errors just 'Connect' so all connect errors are lumped together. 2013-02-01 10:47:38 -07:00
Daniel Nichter
4840b9c3a8 Remove other instance of 'none' Error_no in MySQLProtocolParser.pm. 2013-02-01 10:41:36 -07:00
Daniel Nichter
cf74cd791e Only add Error_no to event if there is one. Don't stringify it either; set its type in pqd. 2013-02-01 10:26:45 -07:00
Brian Fraser fraserb@gmail.com
809164becd Change the Report modules to use Lmo 2013-02-01 14:06:13 -03:00
Brian Fraser fraserb@gmail.com
d816c6497e Merged Lmo and updated everything that used it 2013-02-01 13:29:48 -03:00
Daniel Nichter
3b64102f17 Normalize newlines on end of JSON text, to handle whatever is wrong with JSON on CentOS 6. 2013-01-31 17:48:25 -07:00
Brian Fraser
d2308be64c Merged VersionCheck into Pingback 2013-01-31 21:11:14 -03:00
Daniel Nichter
3f4a02e1fb Update pt-agent to implement new specs. 2013-01-31 17:00:38 -07:00
Brian Fraser
a814b0be64 Minor fix to get Mo::has(handles => qr/.*/) working again 2013-01-31 20:00:09 -03:00
Brian Fraser
5b9932ca28 Updated some files that still used the old ReportFormatter 2013-01-31 19:51:38 -03:00
Daniel Nichter
24e505a43d Simplify and test Percona::WebAPI::Client.pm according to new web API specs. 2013-01-31 12:58:09 -07:00
Brian Fraser
efc89a6725 Merged simplify-pqd 2013-01-31 14:52:34 -03:00
Brian Fraser
5fd8042e35 Updated JSONReportFormatter to drop the hard dependency on JSON.xs and use Transformers::encode_json if JSON is not available 2013-01-30 17:56:19 -03:00
Brian Fraser
98f490492c Change JSONReportFormatter to handle versions of JSON.pm that don't add a newline at the end of the encoded json 2013-01-30 17:47:41 -03:00
Daniel Nichter
82601d38e6 Merge simplify-pqd r549. 2013-01-30 13:33:47 -07:00
Brian Fraser
a9661d09eb Fix for bug 1099836: pt-online-schema-change fails with "Duplicate entry" on MariaDB 2013-01-30 12:33:42 -03:00