Changeset 429


Ignore:
Timestamp:
10/23/12 17:30:57 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Bugfix getRecLine() to not look for locations on default records

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r428 r429  
    33653365  my $id = shift;
    33663366
    3367   my $sql = "SELECT record_id,host,type,val,ttl,location".($revrec eq 'n' ? ',distance,weight,port' : '').
     3367  my $sql = "SELECT record_id,host,type,val,ttl".
     3368        ($defrec eq 'n' ? ',location' : '').
     3369        ($revrec eq 'n' ? ',distance,weight,port' : '').
    33683370        (($defrec eq 'y') ? ',group_id FROM ' : ',domain_id,rdns_id FROM ').
    33693371        _rectable($defrec,$revrec)." WHERE record_id=?";
Note: See TracChangeset for help on using the changeset viewer.