Changeset 384
- Timestamp:
- 08/13/12 17:29:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r383 r384 3302 3302 3303 3303 my $sql = "SELECT r.record_id,r.host,r.type,r.val,r.ttl"; 3304 $sql .= ",l.description AS locname" if $def eq 'n'; 3304 3305 $sql .= ",r.distance,r.weight,r.port" if $rev eq 'n'; 3305 3306 $sql .= " FROM "._rectable($def,$rev)." r "; 3306 3307 $sql .= "INNER JOIN rectypes t ON r.type=t.val "; # for sorting by type alphabetically 3308 $sql .= "LEFT JOIN locations l ON r.location=l.location " if $def eq 'n'; 3307 3309 $sql .= "WHERE "._recparent($def,$rev)." = ?"; 3308 3310 $sql .= " AND NOT r.type=$reverse_typemap{SOA}";
Note:
See TracChangeset
for help on using the changeset viewer.