mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-21 11:30:24 +00:00
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:
@@ -22,14 +22,14 @@ require "$trunk/bin/pt-upgrade";
|
||||
|
||||
my $dp = new DSNParser(opts=>$dsn_opts);
|
||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||
my $dbh1 = $sb->get_dbh_for('master');
|
||||
my $dbh2 = $sb->get_dbh_for('master');
|
||||
my $dbh1 = $sb->get_dbh_for('source');
|
||||
my $dbh2 = $sb->get_dbh_for('source');
|
||||
|
||||
if ( !$dbh1 || !$dbh2 ) {
|
||||
plan skip_all => "Cannot connect to sandbox master";
|
||||
plan skip_all => "Cannot connect to sandbox source";
|
||||
}
|
||||
|
||||
$sb->load_file('master', "t/lib/samples/compare-warnings.sql");
|
||||
$sb->load_file('source', "t/lib/samples/compare-warnings.sql");
|
||||
|
||||
sub clear_warnings {
|
||||
$dbh1->do("SELECT /* clear warnings */ 1 FROM mysql.user");
|
||||
|
Reference in New Issue
Block a user