- Timestamp:
- 08/22/19 09:42:22 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r782 r784 4273 4273 " retry $soa{retry}, expire $soa{expire}, minTTL $soa{minttl}, TTL $soa{ttl})"; 4274 4274 } 4275 _updateserial(%logdata);4275 $self->_updateserial(%logdata); 4276 4276 $logdata{entry} = $msg; 4277 4277 $self->_log(%logdata); … … 4622 4622 $dbh->do("INSERT INTO "._rectable($defrec, $revrec)." ($fields) VALUES ($vallen)", 4623 4623 undef, @vallist); 4624 _updateserial(%logdata);4624 $self->_updateserial(%logdata); 4625 4625 $self->_log(%logdata); 4626 4626 $dbh->commit; … … 4823 4823 eval { 4824 4824 $dbh->do("UPDATE "._rectable($defrec,$revrec)." SET $fields WHERE record_id=?", undef, (@vallist, $id) ); 4825 _updateserial(%logdata);4825 $self->_updateserial(%logdata); 4826 4826 $self->_log(%logdata); 4827 4827 $dbh->commit; … … 4890 4890 $dbh->do("UPDATE records SET $delpar = ?, type = ? WHERE record_id = ?", undef, @sqlargs); 4891 4891 # we have no %logdata in this sub 4892 _updateserial(domain_id => $rec->{domain_id}, rdns_id => $rec->{rdns_id});4892 $self->_updateserial(domain_id => $rec->{domain_id}, rdns_id => $rec->{rdns_id}); 4893 4893 $self->_log(domain_id => $rec->{domain_id}, rdns_id => $rec->{rdns_id}, 4894 4894 group_id => $self->parentID(id => $rec->{rdns_id}, type => 'revzone', revrec => 'y'), … … 4942 4942 eval { 4943 4943 $dbh->do("DELETE FROM "._rectable($defrec,$revrec)." WHERE record_id=?", undef, ($id)); 4944 _updateserial(%logdata);4944 $self->_updateserial(%logdata); 4945 4945 $self->_log(%logdata); 4946 4946 $dbh->commit;
Note:
See TracChangeset
for help on using the changeset viewer.