Changeset 548 for branches/stable/compact-recs.pl
- Timestamp:
- 12/11/13 16:01:18 (10 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
- Property svn:mergeinfo changed
/trunk merged: 493-534,536-543
- Property svn:mergeinfo changed
-
branches/stable/compact-recs.pl
r547 r548 23 23 use warnings; 24 24 25 use lib '.'; 25 use lib '.'; ##uselib## 26 26 use DNSDB; 27 27 … … 120 120 $dbh->do("INSERT INTO records (domain_id, rdns_id, host, type, val, ttl, location) VALUES (?,?,?,?,?,?,?)", 121 121 undef, ($dparent, $zone, $patt, $newtype, $cidr, $soa->{minttl}, $ploc) ); 122 $dbh->do("UPDATE revzones SET changed='y' WHERE rdns_id = ?", undef, ($zone)); 123 $dbh->do("UPDATE domains SET changed='y' WHERE domain_id = ?", undef, ($dparent)) if $dparent; 122 124 $dnsdb->_log(rdns_id => $zone, domain_id => $dparent, group_id => 1, 123 125 entry => "A+PTR and/or PTR records in $cidr matching $patt replaced by $typemap{$newtype} record for $cidr");
Note:
See TracChangeset
for help on using the changeset viewer.