Sveta Smirnova
5c999ca3e0
PT-2340 - Support MySQL 8.4
...
- Removed runtime.txt after discussion with Anastasia Alexandrova
- Added "use VersionParser" into tests in t/lib when needed
- Removed word master from tests for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary
- Removed word slave from tests for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary
- Updated modules for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary
- Changed mysql_ssl patch, so it is now short option s
- Added a check for existing zombies in t/pt-kill/execute_command.t
- Added bin/pt-galera-log-explainer to .gitignore
2024-07-27 01:59:52 +03:00
Sveta Smirnova
e2207ea232
PT-2340 - Support MySQL 8.4
...
- Removed offensive terminology from library files and their tests
- Removed unused sandbox/prove2junit.pl
- Added option mysql_ssl to DSN and possibility to have DSN of multiple letters
2024-07-25 19:03:33 +03:00
Michael Coburn
2a2160fff7
pgk -> pkg for OpenSolaris installer
2024-04-23 16:58:21 -06:00
Sveta Smirnova
37ca3d2d49
PT-1205 - LP #1275034 : pt-table-sync reports 'wide character in print' and terminates
...
- Added binmode :utf8 for STDERR
- Added test case for PT-1205
- Run update-modules
2024-03-22 01:42:14 +03:00
Sveta Smirnova
1ad44e04da
PT-2264 - pt-query-digest Pipeline process 11 (--output slowlog) caused an error: Wide character
...
- Updated lib/DSNParser.pm, so it sets binmode to character set utf8 since
MySQL 8.0 if character set is not specified in the DSN
- Added test case
- Run update-modules
2024-03-21 13:01:03 +03:00
Viktor Szépe
2bd40d8c39
Remove trailing spaces ( #665 )
...
* Remove trailing spaces
* PR-665 - Remove trailing spaces
- Updated not stable test t/pt-online-schema-change/preserve_triggers.t
- Updated utilities in bin directory
* PR-665 - Remove trailing spaces
- Fixed typos
* PR-665 - Remove trailing spaces
- Fixed typos
---------
Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com >
2023-09-06 01:15:12 +03:00
Sveta Smirnova
0accdb3bd3
PT-1595-percona toolkit docs still reference Maatkit ( #591 )
...
- Removed Maatkit left overs
- Keeped links to Maatkit bugs and wiki
- Updated brokn links
2023-02-13 12:44:57 +03:00
Carlos Salguero
d38a584271
Fixes for DSN parser to use UTF8
2018-01-28 14:46:51 -03:00
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