Commit Graph

28 Commits

Author SHA1 Message Date
Daniel Nichter
570b26de20 Remove LOAD DATA check from pt-archiver and pt-upgrade. Make test-env check if LOAD DATA works and PerconaTest export . Rewrite how pt-archiver/t/bulk_insert.t conditionalizes on LOAD DATA working. 2012-07-31 15:37:02 -06:00
Brian Fraser fraserb@gmail.com
2f0812fb33 Merged ubuntu-12-64-issues 2012-07-30 11:30:05 -03:00
Brian Fraser
192f38498c Removed the charset munging and made a note in the pt-archiver docs that the only legal charsets are those known by MySQL 2012-07-27 16:09:32 -03:00
Daniel Nichter
b59040eb83 Test that pt-archiver DSN b=1 causes SET SQL_LOG_BIN=0. 2012-07-26 14:24:07 -06:00
Brian Fraser
5ac234d1b2 t/pt-archiver/check_slave_lag.t: Mark a timing-related test as TODO to avoid white smoke 2012-07-23 02:06:50 -03:00
Brian Fraser
61a65fcdbd DSNParser.pm: Work around MySQL not resolving encodings sanely.
For some reason, MySQL won't resolve iso-8859-1 or latin-1 as latin1,
and will die if you try to use through in, e.g., SET NAMES.
This commit makes DSNParser resolve those cases on its own
before calling SET NAMES.
2012-07-23 01:11:49 -03:00
Brian Fraser
0d572c3a02 Some changes that somehow went missing during the merge 2012-07-13 03:30:05 -03:00
Brian Fraser
0277f19f6d t/pt-archiver/bulk_insert.t: Don't assume that the db is already there 2012-07-12 14:14:47 -03:00
Brian Fraser
e0d97bbc98 pt-upgrade: Deal with LOCAL INFILE being disabled 2012-07-11 18:36:43 -03:00
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Baron Schwartz
b9304dabb5 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:14:20 -04:00
Daniel Nichter
dac0731251 Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves(). 2012-06-07 10:25:44 -04:00
Daniel Nichter
312169a4c0 Make t/pt-archiver/issue_1225.t by waiting for the table. 2012-06-07 08:11:25 -04:00
Brian Fraser fraserb@gmail.com
345a21a82e Replace the last instances of MKDEBUG 2012-06-05 12:28:36 -03:00
Baron Schwartz
8916958897 Change storage engine to myisam so MySQL 5.5 will work 2012-06-04 00:28:21 -04:00
Baron Schwartz
40017ec5bd Skip utf8 tests when DBD::mysql less than 4.0 2012-06-04 00:23:55 -04:00
Baron Schwartz
bac93e1201 Remove 'type=innodb' syntax (illegal in MySQL 5.5) 2012-06-03 16:25:28 -04:00
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Brian Fraser fraserb@gmail.com
cd88bb4d25 Fix for 903379 2012-05-28 04:59:04 -03:00
Daniel Nichter
522d7836e8 Move --sleep to just before SELECT instead of between each row after SELECT. 2012-04-17 16:52:34 -06:00
Brian Fraser fraserb@gmail.com
51017de5d5 Load Encode before trying to use Encode::resolve_alias 2012-03-06 13:38:28 -03:00
Daniel Nichter
4408123ea8 Fix pt-archiver tests. 2012-02-01 10:21:30 -07:00
Brian Fraser
55ee808310 Bugfix for https://bugs.launchpad.net/percona-toolkit/+bug/903379 2012-01-31 17:19:22 -03:00
Daniel Nichter
7526f97224 Fix and make tests more reliable. 2011-07-14 11:05:05 -06:00
Daniel Nichter
db76b3ca30 Make pt-archiver tests more reliable on weird, slow boxes like my vbox. 2011-07-14 09:57:16 -06:00
Daniel Nichter
eb01431399 Change MaatkitTest to PerconaTest in all tool tests. Add stub tests for pt-align and pt-collect. 2011-07-12 16:56:55 -06:00
Daniel Nichter
8e11cd85b3 Change mk_tool::main() to pt_tool::main() in all tests. 2011-06-29 11:56:49 -06:00
Daniel Nichter
b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00