Changeset 689 for trunk


Ignore:
Timestamp:
10/05/15 16:34:42 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix minor SQL bug in getRecCount that caused a null return when a filter
argument was supplied

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r687 r689  
    42434243  my $sql = "SELECT count(*) FROM ".
    42444244        _rectable($args{defrec},$args{revrec}).
    4245         " WHERE NOT type=$reverse_typemap{SOA}";
     4245        " r WHERE NOT type=$reverse_typemap{SOA}";
    42464246  if ($args{id}) {
    42474247    $sql .= " AND "._recparent($args{defrec},$args{revrec})." = ?";
Note: See TracChangeset for help on using the changeset viewer.