projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c5789
)
Prevent autovivification of an important hash.
author
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 9 Jun 2014 11:51:34 +0000
(07:51 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Mon, 9 Jun 2014 11:51:34 +0000
(07:51 -0400)
This was causing too many updates to the trigger tracking table.
Should clear up recurring serialization errors seen.
Bucardo.pm
patch
|
blob
|
blame
|
history
diff --git
a/Bucardo.pm
b/Bucardo.pm
index a074ac578c6f27c25dca484c9af9e010a14fb17d..adb24bffaff15c5e8328c3262a27ac803ce3a807 100644
(file)
--- a/
Bucardo.pm
+++ b/
Bucardo.pm
@@
-8748,7
+8748,7
@@
sub delete_rows {
my $newname = $goat->{newname}{$self->{syncname}};
## Are we truncating?
- if (exists $self->{truncateinfo}{$S}{$T}) {
+ if (exists $self->{truncateinfo}
and exists $self->{truncateinfo}
{$S}{$T}) {
## Try and truncate each target
for my $t (@$deldb) {