Changeset 649 for branches/stable/compact-recs.pl
- Timestamp:
- 06/23/14 17:52:37 (10 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
-
branches/stable/compact-recs.pl
r548 r649 103 103 eval { 104 104 my $getsth = $dbh->prepare("SELECT record_id,host,val FROM records ". 105 "WHERE (type = 12 OR type > 65000) AND CAST(val AS inet) << ?");105 "WHERE (type = 12 OR type > 65000) AND inetlazy(val) << ?"); 106 106 my $delsth = $dbh->prepare("DELETE FROM records WHERE record_id = ?"); 107 107 $getsth->execute($cidr);
Note:
See TracChangeset
for help on using the changeset viewer.