PT-2440 - Support for MariaDB 10.5

- Updated non-libraries code in bin/pt-heartbeat, bin/pt-replica-restart, and bin/pt-slave-delay
- Adjusted lib/Sandbox.pm, so it does not require SSL for MariaDB
- Adjusted test case, so it is in line with other tests
This commit is contained in:
Sveta Smirnova
2025-08-23 03:32:33 +03:00
parent a97c422851
commit 495869da3e
5 changed files with 61 additions and 49 deletions

View File

@@ -4559,7 +4559,7 @@ sub main {
# Check version, refuse working with 8.4
my $version = VersionParser->new($slave_dbh);
if ( $version ge '8.1' && $version->flavor() !~ m/maria/ ) {
if ( $version ge '8.1' && $version->flavor() !~ m/maria/i ) {
die "This tool does not work with MySQL 8.1 and newer.\n";
}