Commit 8e3f849c authored by Leigh Stoller's avatar Leigh Stoller

Minor tweak for impotent mode.

parent aec53eb5
......@@ -869,10 +869,11 @@ sub MakeFake($$$)
$argref->{'node_id'} = $nodeid;
# This is usually generated by the insert.
$argref->{'unit'} = $nextfake++;
$argref->{'unit'} = $nextfake++;
my $self = {};
$self->{"DBROW"} = $argref;
$self->{"FAKE"} = 1;
bless($self, $class);
return $self;
}
......@@ -955,6 +956,9 @@ sub Update($$)
return -1
if (! ref($self));
return 0
if (exists($self->{'FAKE'}));
my $nodeid = $self->node_id();
my $unit = $self->unit();
my @sets = ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment