PT-2340 - Support MySQL 8.4

- Added deprecation warning to pt-slave-delay
- Re-enabled tests for pt-slave-delay to check the warning
- Disabled pt-slave-delay for MySQL 8.1+
This commit is contained in:
Sveta Smirnova
2024-08-26 16:49:42 +03:00
parent 194bb99ef9
commit 1006101bb4
7 changed files with 317 additions and 39 deletions

View File

@@ -20,8 +20,8 @@ my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $master_dbh = $sb->get_dbh_for('source');
my $slave_dbh = $sb->get_dbh_for('replica1');
if ($sandbox_version ge '5.7') {
plan skip_all => 'Use SQL_DELAY';
if ($sandbox_version ge '8.1') {
plan skip_all => 'Tool is not supported. Use SQL_DELAY';
}
if ( !$master_dbh ) {