Commit Graph

25 Commits

Author SHA1 Message Date
Carlos Salguero
74eb8b72c0 Added test. Updated all modules 2016-10-27 13:39:51 -03:00
Carlos Salguero
98d07179b8 Revert "Merge pull request #92 from ManjotS/2.2"
This reverts commit 0b62ba26af, reversing
changes made to e983eff3d3.
2016-08-04 17:34:27 -03:00
Manjot Singh
a564cc7bc8 Added changes suggested by mbenshoof, michaeldg
- Fixed issue with dry run and preserve triggers
- Fixed issue with trim multiline
- Changed DSNParser in lib
2016-06-28 12:33:44 -07:00
frank-cizmich
7c0054fa5d DSNParser clobbered sql_mode variable set by user - lp1506748 2016-02-01 22:51:55 -03:00
Daniel Nichter
f0b7712528 Fix tests to work with new --set-vars, and change --lock-wait-timeout to --set-vars innodb_lock_wait_timeout in tests. 2013-03-02 10:17:23 -07:00
Daniel Nichter
c6958b497d First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing. 2013-02-27 18:47:00 -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
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
d98f8e04c9 Fix for 1078887: Don't clobber the sql_mode set by the script with set-vars 2012-12-03 00:43:10 -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
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
840ea44e71 Fix for 1016127: DBD::mysql install hint for OpenSolaris 2012-08-02 09:52:42 -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
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 fraserb@gmail.com
c87235b0ff Fix 984915: DSNParser does not check return value of do() calls 2012-06-11 22:02:49 -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
bb5d64b4a6 Remove \, from any DSN part (value or bareword). Document that DSN values must be escaped. 2012-05-24 11:20:38 -06:00
Daniel Nichter
026d95ac24 Separate DSN parts using escaped commas instead so bareword values work. 2012-05-24 10:56:04 -06:00
Daniel Nichter
15146353f9 Use regex to split DSN parts to allow commas in values. 2012-05-24 10:32:39 -06:00
Daniel Nichter
88304e69fb Replace MKDEBUG with PTDEBUG in modules. 2012-01-19 12:46:56 -07:00
Daniel Nichter
c4db7c0633 Test and fix very small --chunk-time. Report immediately when a slave is stopped. Add short form -q for --quiet. Report very slow checksums once for each table. Use Cxn::name() instead of Cxn::dsn()->{n}; remove n from DSNParser; make cxn's name @@hostname by default, else stringified DSN parts. 2011-10-19 11:27:19 -06:00
Daniel Nichter
006b93ddf9 Create ReplicaLagLimiter. Replace --max-lag, --check-interval, and --check-slave-lag with --replica-lag and --replica-lag-dsn. Use TableParser::get_table_status() in NibbleItertor. Eval SHOW TABLE STATUS. Auto-add "n" (name) part to parsed DSNs. 2011-09-16 17:35:40 -06:00
Daniel Nichter
b805f7c92d Remove $Revision$ and finish re-branding modules. Rename MaatkitTest.pm to PerconaTest.pm. Put copyrights on one line. 2011-07-12 15:47:07 -06:00
Daniel Nichter
55c69ffbc1 Move module docu to work for NaturalDocs. 2011-07-02 12:29:08 -06:00
Daniel Nichter
6c501128e6 Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1. 2011-06-24 11:22:06 -06:00