mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-21 01:54:44 +00:00
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:
@@ -83,7 +83,7 @@ my $dp = new DSNParser(opts=>$dsn_opts);
|
||||
|
||||
# Connect to sandbox now to make sure it's running.
|
||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||
my $master_dbh = $sb->get_dbh_for('master');
|
||||
my $master_dbh = $sb->get_dbh_for('source');
|
||||
my $slave_dbh = $sb->get_dbh_for('slave1');
|
||||
if ( !$master_dbh ) {
|
||||
plan skip_all => "Cannot connect to sandbox master";
|
||||
@@ -97,7 +97,7 @@ else {
|
||||
|
||||
|
||||
$sb->create_dbs($master_dbh, [qw(test)]);
|
||||
$sb->load_file('master', 't/lib/samples/issue_11.sql');
|
||||
$sb->load_file('source', 't/lib/samples/issue_11.sql');
|
||||
|
||||
my $tbl = $tp->parse(
|
||||
$tp->get_create_table($master_dbh, 'test', 'issue_11'));
|
||||
|
Reference in New Issue
Block a user