Changeset 647
- Timestamp:
- 06/23/14 17:36:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/compact-recs.pl
r540 r647 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.