PT-2340 - Support MySQL 8.4

- Updated modules and tests for pt-table-sync, pt-table-usage, pt-upgrade, pt-variable-advisor
This commit is contained in:
Sveta Smirnova
2024-08-03 17:03:48 +03:00
parent 56599f01ad
commit a38bee6d60
69 changed files with 1442 additions and 1304 deletions

View File

@@ -17,11 +17,11 @@ require "$trunk/bin/pt-variable-advisor";
my $dp = new DSNParser(opts=>$dsn_opts);
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $dbh = $sb->get_dbh_for('master');
my $dsn = $sb->dsn_for('master');
my $dbh = $sb->get_dbh_for('source');
my $dsn = $sb->dsn_for('source');
if ( !$dbh ) {
plan skip_all => "Cannot connect to sandbox master";
plan skip_all => "Cannot connect to sandbox source";
}
# #############################################################################

View File

@@ -17,10 +17,10 @@ require "$trunk/bin/pt-variable-advisor";
my $dp = new DSNParser(opts=>$dsn_opts);
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $dbh = $sb->get_dbh_for('master');
my $dbh = $sb->get_dbh_for('source');
if ( !$dbh ) {
plan skip_all => "Cannot connect to sandbox master";
plan skip_all => "Cannot connect to sandbox source";
}
else {
plan tests => 3;

View File

@@ -73,7 +73,7 @@ my ($output) = full_output(sub {
like(
$output,
qr/\Qdual-master or ring replication configuration?\E$/sm,
qr/\Qdual-source or ring replication configuration?\E$/sm,
"Sentences are delimited by . or ?"
);