mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-21 18:24:38 +00:00
Move --log-dsn tests from kill.t to log_dsn.t. Pass actual dsn, not retval of get_cxn_params() to Cxn. Add Sandbox::get_cnf().
This commit is contained in:
@@ -397,6 +397,12 @@ sub dsn_for {
|
||||
return "h=127.1,P=$port_for{$host},u=msandbox,p=msandbox";
|
||||
}
|
||||
|
||||
sub cnf_for {
|
||||
my ($self, $host) = @_;
|
||||
_check_server($host);
|
||||
return "/tmp/" . $port_for{$host} . "/my.sandbox.cnf";
|
||||
}
|
||||
|
||||
sub genlog {
|
||||
my ($self, $host) = @_;
|
||||
_check_server($host);
|
||||
|
Reference in New Issue
Block a user