Changeset 664


Ignore:
Timestamp:
10/07/14 17:57:36 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Drop group requirement/limit in getRevPattern, since it's not very useful
when remotes know nothing of groups in dnsadmin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r663 r664  
    46484648
    46494649  # for speed!  Casting and comparing even ~7K records takes ~2.5s, so narrow it down to one revzone first.
    4650   my ($revid) = $dbh->selectrow_array("SELECT rdns_id FROM revzones WHERE revnet >>= ? AND group_id = ?",
    4651         undef, ($cidr, $group) );
     4650  my ($revid) = $dbh->selectrow_array("SELECT rdns_id FROM revzones WHERE revnet >>= ?",
     4651        undef, ($cidr) );
    46524652
    46534653##fixme?  may need to narrow things down more by octet-chopping and doing text comparisons before casting.
Note: See TracChangeset for help on using the changeset viewer.