From 835e35a9ea6dcc5c08a45d42c4de4657e133edcd Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 21 May 2015 22:45:51 -0400 Subject: [PATCH] When doing a delete of a target, use the escaped version of the primary key columns. --- Bucardo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bucardo.pm b/Bucardo.pm index 6fbe3482a..0869423a3 100644 --- a/Bucardo.pm +++ b/Bucardo.pm @@ -9220,7 +9220,7 @@ sub delete_rows { $SQL{IN}{$tname} = sprintf '%sDELETE FROM %s WHERE %s IN (', $self->{sqlprefix}, $tname, - $pkcols; + $goat->{pklist}; my $inner; if ($t->{has_mysql_timestamp_issue}) { for my $key (keys %$rows) { -- 2.39.5