projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4a4469
)
Make sure we paren pkeylist in case it is a multi-pk
author
Greg Sabino Mullane
<greg@endpoint.com>
Sun, 24 May 2015 16:30:29 +0000
(12:30 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Sun, 24 May 2015 16:30:29 +0000
(12:30 -0400)
Bucardo.pm
patch
|
blob
|
blame
|
history
diff --git
a/Bucardo.pm
b/Bucardo.pm
index b7e450134d83126f13abda0ba2b64faa58ce9a8a..84ee82cd567ca780edd0c35f85705a3781e85685 100644
(file)
--- a/
Bucardo.pm
+++ b/
Bucardo.pm
@@
-9222,7
+9222,7
@@
sub delete_rows {
}
## Normal DELETE call with IN() clause
elsif ('IN' eq $sqltype and ! exists $SQL{IN}{$tname}) {
- $SQL{IN}{$tname} = sprintf '%sDELETE FROM %s WHERE
%s
IN (',
+ $SQL{IN}{$tname} = sprintf '%sDELETE FROM %s WHERE
(%s)
IN (',
$self->{sqlprefix},
$tname,
$goat->{pklist};