Changeset 664
- Timestamp:
- 10/07/14 17:57:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r663 r664 4648 4648 4649 4649 # 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) ); 4652 4652 4653 4653 ##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.