From 7524a2bb754eae5c1b93d76c8c9ac14421a4b666 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sun, 29 Aug 2010 21:59:20 -0400 Subject: [PATCH] Minor cleanups. --- t/10-pushdelta.t | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/t/10-pushdelta.t b/t/10-pushdelta.t index aca1e557e..ff2a0061c 100644 --- a/t/10-pushdelta.t +++ b/t/10-pushdelta.t @@ -663,13 +663,12 @@ if ($info->{dbi_error} !~ /line \d+: "(.+)"/) { my $fail = $1; my @fail = map { $_ =~ /\\N/ ? undef : $_ } split /\t/ => $fail; -my $pkval = $fail[0]; my $email = $fail[5]; ## In this case, we'll remove the one on the target my $targetdbh = $args->{targetdbh}; my $safemail; -eval { +eval { $safemail = $targetdbh->quote($email); }; $@ and warn "customcode failure: $@\n"; @@ -688,7 +687,6 @@ $dbhX->do(q{INSERT INTO bucardo.customcode_map (code, goat) SELECT 1, id FROM bucardo.goat WHERE tablename = 'bucardo_test1'}); $dbhX->commit(); - $command = "bucardo_ctl reload sync pushdeltaAB"; $res = $bct->ctl($command); @@ -705,6 +703,5 @@ bc_deeply ([[1,'zed']], $dbhA, $SQL, $t); bc_deeply ([[1,'zed']], $dbhB, $SQL, $t); - exit; -- 2.39.5