Commit Graph

2104 Commits

Author SHA1 Message Date
Daniel Nichter
140611c92e Use the same blurb for --pid in all tools. 2013-02-26 17:01:17 -07:00
Daniel Nichter
aed0140d64 Remove --daemonize from pt-config-diff. 2013-02-26 16:57:02 -07:00
Daniel Nichter
ae5280c232 Update Cxn in all tools and set parent accordingly. 2013-02-26 16:45:45 -07:00
Daniel Nichter
a21c36ac99 Test that ::parent keeps the dbh alive for the child. 2013-02-26 16:34:48 -07:00
Daniel Nichter
abcfd2c43f Merge pt-dl-logger-2.2. 2013-02-26 08:13:09 -07:00
Daniel Nichter
02a11d877f Make pt-dl-logger retry its --dest INSERT statement. Update the tool's docs. 2013-02-25 18:06:27 -07:00
Daniel Nichter
8b428e28a1 Mini-overhaul pt-deadlock-logger: change --interval default from undef to 30, add --iterations, remove --print, add --quiet, use explicit --columns default, remove --collapse, change default --clear-deadlocks table to percona_schema.clear_deadlocks, refactor the code, use Cxn and Runtime, remove some global vars. 2013-02-25 17:19:32 -07:00
Daniel Nichter
6825fa7f3b Add parent attrib to Cxn to fix forking after --daemonize. 2013-02-25 17:16:20 -07:00
Daniel Nichter
6aef3e7028 Mini-overhaul for pt-fk-error-logger: make --run-time standard, remove --print, add --quiet, add --iterations, change default --interval to 30, use Cxn and Runtime, reconnect to MySQL, eval the critical operation, rewrite/update the docs. 2013-02-25 11:55:06 -07:00
Daniel Nichter
65833726fd Add "SPECIAL OPTION TYPES" to percona-toolkit.pod. 2013-02-25 11:52:54 -07:00
Daniel Nichter
c3740b7aac Add Cxn::lost_connection(). Rename runtime to run_time in Runtime.pm. 2013-02-25 11:52:22 -07:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Daniel Nichter
45a21acc0c Merge enable-version-check-by-default. 2013-02-22 10:47:57 -07:00
Daniel Nichter
b286da993f Check for ../../.bzr for when a tool is ran as a module in a test. 2013-02-22 08:00:55 -07:00
Daniel Nichter
550bb3887a Add force => ->got('version-check') to tools. 2013-02-21 16:37:25 -07:00
Daniel Nichter
831197ba07 Update t/pt-query-digest/version_check.t. 2013-02-21 16:33:45 -07:00
Daniel Nichter
58dc45cf69 Update VersionCheck in all tools. 2013-02-21 16:12:09 -07:00
Daniel Nichter
364e08229d Test that --version-check works/is enabled by default. 2013-02-21 16:07:33 -07:00
Daniel Nichter
fc851caec8 Simplify checking for .bzr/ to auto-disable --version-check in dev and test envs. Update t/pt-archiver/version_check.t. Need to update all other tools... 2013-02-21 15:59:49 -07:00
Brian Fraser
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03:00
Daniel Nichter
bb3dfd27fd Remove .moved files. 2013-02-19 13:04:18 -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
1726cf2bb8 Hopefully redirect MySQL 5.6 warning about -ppassword in pt-table-checksum/error_handling.t to diag. 2013-02-19 07:58:33 -07:00
Daniel Nichter
7621d2c4ce Fix skip_innodb.t tests. 2013-02-19 07:53:19 -07:00
Daniel Nichter
3f8e1a4ea6 Fix t/pt-table-sync/traces.t again. 2013-02-18 18:55:05 -07:00
Daniel Nichter
b795d7448c Add from 5.6 samples. 2013-02-18 18:51:44 -07:00
Daniel Nichter
5bb577a75b Stablize the annoyingi pt-table-checksum/basics.t tests that always change by insignificant amounts anytime we change something with sandboxes. 2013-02-18 18:51:14 -07:00
Daniel Nichter
923e643b04 Skip skip_innodb.t tests with 5.6 because it seems like InnoDB can't be disabled any longer. 2013-02-18 18:17:38 -07:00
Daniel Nichter
eb2585fb32 Various test fixes for MySQL 5.6.10 (which seems not to have mysql.hosts any longer). 2013-02-18 18:06:05 -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
80d9ab9de0 Fix util/checksum-test-dataset to work with MySQL 5.6: don't checksum log and stat tables. 2013-02-18 17:28:12 -07:00
Daniel Nichter
2b73157967 Fix some minor test issues. 2013-02-18 13:54:25 -07:00
Daniel Nichter
40fd007644 Update Quoter in all tools again. 2013-02-18 12:53:15 -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
a07c0c0a6a Updqte Quoter in all tools. 2013-02-18 12:31:18 -07:00
Daniel Nichter
58f4f06fbb Add /usr/local/bin to PATH in jenkins-test. 2013-02-18 12:17:32 -07:00
Daniel Nichter
846286d0a0 Add some pathalogical test cases and skip UTF-8 tests if DBD::mysql::VERSION <= 3.0007. 2013-02-18 12:01:26 -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
4c63a36795 Make util/test-env require /etc/percona-toolkit/percona-toolkit.conf have no-version-check. 2013-02-14 09:02:12 -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
07810ca867 Change --version-check to --[no]version-check, update POD text and how version_check() is called. 2013-02-13 16:06:31 -07:00
Daniel Nichter
d023c90e8e Merge Pingback.t into VersionCheck.t and remove the former. 2013-02-12 19:47:14 -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
Brian Fraser
fd16bad016 pt-table-sync: Removed MySQLDump 2013-02-12 17:48:25 -03:00
Daniel Nichter
924f3eb5da Add two tests with literal commas. 2013-02-12 13:18:12 -07:00
Daniel Nichter
0fd4f27289 Simplify and re-test Quoter::(de)serialize_list(). 2013-02-12 12:58:26 -07:00
Daniel Nichter
d9d641dea3 Fix t/pt-query-digest/samples/output_json_tcpdump021.txt. 2013-02-12 09:31:56 -07:00