PT-2340 - Support MySQL 8.4

- Removed offensive terminology from library files and their tests
- Removed unused sandbox/prove2junit.pl
- Added option mysql_ssl to DSN and possibility to have DSN of multiple letters
This commit is contained in:
Sveta Smirnova
2024-07-23 22:28:05 +03:00
parent a530c6f84c
commit e2207ea232
49 changed files with 1131 additions and 398 deletions

View File

@@ -34,7 +34,7 @@ $Data::Dumper::Quotekeys = 0;
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');
my $output;
plan skip_all => 'Cannot connect to sandbox master';
@@ -72,7 +72,7 @@ sub make_nibble_iter {
my (%args) = @_;
if (my $file = $args{sql_file}) {
$sb->load_file('master', "$in/$file");
$sb->load_file('source', "$in/$file");
}
@ARGV = $args{argv} ? @{$args{argv}} : ();
@@ -258,7 +258,7 @@ ok(
# Empty table
# https://bugs.launchpad.net/percona-toolkit/+bug/987393
# #############################################################################
$sb->load_file('master', "t/pt-table-checksum/samples/empty-table-bug-987393.sql");
$sb->load_file('source', "t/pt-table-checksum/samples/empty-table-bug-987393.sql");
$ni = make_nibble_iter(
db => 'test',