From 6a15cd6eeb1a8481e2b50f388c127baf86850101 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sat, 19 Jun 2010 12:05:33 -0400 Subject: [PATCH] Better message formatting on kid cleanup. --- Bucardo.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bucardo.pm b/Bucardo.pm index 918ec6d45..85eb2b690 100644 --- a/Bucardo.pm +++ b/Bucardo.pm @@ -3741,7 +3741,7 @@ sub start_kid { }; ## Note: we don't check for non-null started because it is never set without a pid $sth = $finaldbh->prepare($SQL); - (my $flatmsg = $msg) =~ s/\n/\\n/g; + (my $flatmsg = $msg) =~ s/\n/ /g; my $count = $sth->execute($flatmsg,$syncname,$sourcedb,$targetdb,$self->{parent},$$); ## Clean up the audit_pid table @@ -3815,7 +3815,7 @@ sub start_kid { $S eq '?' ? '' : " $S.$T", $pkval eq '?' ? '' : " pk: $pkval"; - $self->cleanup_kid($msg, $extrainfo); + $self->cleanup_kid($flatmsg, $extrainfo); exit 1; -- 2.39.5