PT-2083 - Pt-archiver --charset option is not working for MySQL8.0

- Changed logic, introduced by commit 1d1c13f
- Added test case
This commit is contained in:
Sveta Smirnova
2023-12-07 21:51:47 +03:00
parent 9b347dd466
commit cadf35abc4
4 changed files with 108 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ unlike(
unlike(
$output,
qr/Cannot open :encoding(utf8mb4)/,
'Destination file can be read if encodin utf8mb4 is used'
'Destination file can be read if encoding utf8mb4 is used'
) or diag($output);
# #############################################################################