IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2009, 5:00:45 PM (17 years ago)
Author:
Paul Price
Message:

Only consider diffRuns with the same label as the one we're defining.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/difftool.c

    r23921 r23922  
    13221322
    13231323    if (!rerun) {
    1324         psStringAppend(&whereClause, "\n%s diffRun.diff_id IS NULL", whereClause ? "AND" : "WHERE");
     1324        psStringAppend(&whereClause, "\n%s (diffRun.diff_id IS NULL", whereClause ? "AND" : "WHERE");
     1325        if (label) {
     1326            psStringAppend(&whereClause, " OR diffRun.label != %s", label);
     1327        }
     1328        psStringAppend(&whereClause, ")");
    13251329    }
    13261330
     
    18151819
    18161820    if (clean) {
    1817         bool success = true; 
     1821        bool success = true;
    18181822        if (!strcmp(tables[i].tableName, "diffRun")) {
    18191823            success = pxSetStateCleaned("diffRun", "state", output);
Note: See TracChangeset for help on using the changeset viewer.