Commit Graph

97 Commits

Author SHA1 Message Date
Brian Fraser b9bfe6114c Merged fix-821715-enable-local-infile-in-dsn 2012-10-30 22:12:57 -03: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 fraserb@gmail.com 6771202be0 Merged sandbox-pxc-compat 2012-10-17 12:04:17 -03:00
Daniel Nichter 136b1e305e Put --wildcards in the correct place. 2012-10-16 09:58:29 -06:00
Daniel Nichter 532325047b Add --wildcards to make-barebones. 2012-10-16 09:53:53 -06:00
Brian Fraser fraserb@gmail.com 4e833f3df3 Minimal PXC compat 2012-10-15 13:53:37 -03:00
Daniel Nichter e1bd108aa4 Collect INNODB_TRX, INNODB_LOCKS, and INNODB_LOCK_WAITS. Fix update-module so it works again with Bash tools. 2012-08-30 15:40:09 -06:00
Daniel Nichter 7cd73be614 Merge 2.1 r364 (has lots of test fixes). 2012-08-22 15:00:19 -06:00
Daniel Nichter 9674c6ad88 Add diag() for Bash tests. Diag 'ollect_mysql_info.t find_my_cnf_file gets the correct file' when it fails. 2012-08-22 14:50:11 -06:00
Daniel Nichter dbeaec77b6 Increase Bash wait_for_files from 3 to 30s. Wait for innodbstatus2 in collec.t. 2012-08-22 14:04:42 -06:00
Daniel Nichter ee583ba729 Add $ENV{PERCONA_VERSION_CHECK}=0 to PerconaTest so tests don't version-check. Implement v-c in half the tools. Make util/update-modules clean up its temp files. 2012-08-21 16:15:44 -06:00
Daniel Nichter 272473348c Remove _d from Percona::Toolkit because I can't get it to export correctly. Put Percona::Toolkit in most tools. 2012-08-17 12:35:12 -06:00
Daniel Nichter 4fe1a61f0e Add lib/Percona/Toolkit.pm for $Percona::Toolkit::VERSION. Put that in pt-diskstats. Add util/tool-header to update %INC magic when bin/update-modules is ran. 2012-08-17 11:27:41 -06:00
Daniel Nichter 5754649a39 Add util/check-load-data 2012-07-31 15:57:50 -06:00
Daniel Nichter b1c6bba43a Test that pt-kill reconnects using new util/kill-mysql-process. Fix optional DSN by adding magical options rule. 2012-07-12 16:49:15 -06:00
Daniel Nichter 6269b196a3 Tweak t/lib/bash/collect.sh and t/lib/bash/report_mysql_info.sh and add wait_for_files() to util/test-bash-functions so hopefully they'll be more stable. 2012-07-10 16:33:00 -06:00
Daniel Nichter 1b20226db2 Fix README.SNAPSHOT. 2012-07-10 12:25:40 -07:00
Daniel Nichter 63a182864e Create util/build-snapshot and ignore /snapshot. 2012-07-10 12:16:27 -07:00
Daniel Nichter 1b8f964b7a Include mysqldump in barebone packages. 2012-07-09 17:10:41 -06:00
Daniel Nichter 07b0dbcb59 Extract share/mysql from full MySQL 5.0 binaries. 2012-06-29 18:29:08 -06:00
Daniel Nichter c5fbee7541 Add util/make-barebones. 2012-06-29 18:05:56 -06:00
Brian Fraser fraserb@gmail.com bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Baron Schwartz 47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Daniel Nichter 3160b70b00 Fix pt-table-sync/issue_1065.t from modifying sakila tables. Add util/diff-and-restart-sandbox. 2012-06-05 15:56:22 -06:00
Daniel Nichter 04d6a51074 Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc. 2012-06-05 11:51:33 -07:00
Baron Schwartz 5c23b95072 magic to check that tests didn't muck with test dataset 2012-06-05 03:24:59 -04:00
Daniel Nichter fdfd305dc5 Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions. 2012-05-07 12:16:24 -06:00
Brian Fraser fraserb@gmail.com 996a76a68e pt-summary shouldn't leave empty files; both summary tools should
die if passed a --save-samples directory that has files in it.
2012-03-29 19:21:32 -03:00
Brian Fraser fraserb@gmail.com 9fbb796022 More tests for get_var 2012-03-28 15:59:16 -03:00
Brian Fraser fraserb@gmail.com 3ffda5677b pt-summary for 2.1, also changes to pt-mysql-summary from Daniel's review 2012-03-24 14:20:09 -03:00
Brian Fraser fraserb@gmail.com 88a9a66946 pt-mysql-summary for 2.1 2012-03-20 18:29:35 -03:00
Daniel Nichter 5f95d06a58 Fix 'Bad substitution' error in util/build-packages. 2012-03-07 16:27:04 -07:00
Daniel Nichter 6eff465223 Fix more quoting in util/build-packages. 2012-03-07 15:59:01 -07:00
Daniel Nichter d8618637b2 Fix quoting in util/build-packages. 2012-03-07 15:55:36 -07:00
Daniel Nichter b99293d1b3 Simplify and individuate Bash tests so prove reports failures where they happen. 2012-02-23 13:58:57 -07:00
Daniel Nichter a33031e6e4 Merge 2.0 r187. 2012-02-21 14:26:44 -07:00
Daniel Nichter 610a8dd0bf Use secure tmp dir instead of /tmp. 2012-02-17 10:04:38 -07:00
Daniel Nichter c98c352b7d Fix typo in pt-stalk docu. Add check for this to util/check-tool and fix other tools. 2012-02-16 11:55:44 -07:00
Daniel Nichter 6bb7756c09 Use 'NA' instead of 'Not installed' to keep output pretty. 2012-02-09 11:54:49 -07:00
Daniel Nichter 2e171dfb8c Make IO::Uncompress::Inflate an optional module for testing. 2012-02-09 11:42:48 -07:00
Daniel Nichter 1c5eb84cd5 Don't require Term::ReadKey for testing. 2012-02-07 15:15:44 -07:00
Daniel Nichter 0659100b6b Don't require Digest::Crc32 for testing. 2012-02-07 15:06:06 -07:00
Daniel Nichter 8c27f618b7 Make check-dev-env check all modules without dying. 2012-02-07 14:53:01 -07:00
Daniel Nichter 9383572742 Merge trunk r174. 2012-02-07 13:10:11 -07:00
Daniel Nichter 85fdb732c8 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-2.0 and, previously merged into that, lp:~percona-toolkit-dev/percona-toolkit/use-mktemp-871438. 2012-02-02 09:38:11 -07:00
Daniel Nichter 2b9e578908 Fix util/update-modules. Use Cxn in pt-config-diff to make --ask-pass work. 2012-01-19 13:04:42 -07:00
Brian Fraser f4b8e8356b test-bash-functions: test_name is optional, so avoid it stopping us if set -u 2012-01-03 14:59:55 -03:00
Daniel Nichter 2221b13cd3 Fix pod2rst output. 2011-12-30 11:42:05 -07:00
Daniel Nichter cf10e3e521 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-table-checksum-2.0. 2011-12-29 17:39:26 -07:00
Daniel Nichter ac94de6cb0 Use new Percona-themed docs (from lp:~mauricio-stekl/percona-toolkit/pt-docs-percona-theme). 2011-12-29 10:51:55 -07:00