IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31706


Ignore:
Timestamp:
Jun 23, 2011, 11:32:37 AM (15 years ago)
Author:
rhenders
Message:

now includes instances of 'failed_revert' in state column when counting faults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool/Gpc1Db.pm

    r30917 r31706  
    140140        JOIN $joinTable USING ($id)
    141141        WHERE label LIKE '$label'
    142         AND $faultCol != 0
    143         AND $stateCol = '$state'
    144 SQL
    145 
    146         $query->execute;
     142        AND ($faultCol != 0 AND $stateCol = '$state') OR $stateCol = 'failed_revert'
     143SQL
     144    $query->execute;
    147145    return scalar $query->fetchrow_array();
    148146}
Note: See TracChangeset for help on using the changeset viewer.