Fix more tests for set-vars.

This commit is contained in:
Daniel Nichter
2013-03-02 12:17:12 -07:00
parent f0b7712528
commit 9e9024d508
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ elsif ( $db_flavor !~ /XtraDB Cluster/ ) {
my $o = new OptionParser(description => 'Cxn');
$o->get_specs("$trunk/bin/pt-table-checksum");
$o->get_opts();
$dp->prop('set-vars', $o->get('set-vars'));
$dp->prop('set-vars', $o->set_vars());
sub make_cxn {
my (%args) = @_;

View File

@@ -44,7 +44,7 @@ my $dp = new DSNParser(opts=>$dsn_opts);
my $o = new OptionParser(description => 'Cxn');
$o->get_specs("$trunk/bin/pt-table-checksum");
$o->get_opts();
$dp->prop('set-vars', $o->get('set-vars'));
$dp->prop('set-vars', $o->set_vars());
my $r1 = new Cxn(dsn=>{n=>'slave1'}, dbh=>1, DSNParser=>$dp, OptionParser=>$o);
my $r2 = new Cxn(dsn=>{n=>'slave2'}, dbh=>2, DSNParser=>$dp, OptionParser=>$o);