IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21237


Ignore:
Timestamp:
Jan 29, 2009, 5:37:59 PM (17 years ago)
Author:
Paul Price
Message:

difftool -definebyquery was generating diffs using stacks that had failed. This should fix that.

Location:
trunk/ippTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/difftool_definebyquery_part2.sql

    r21098 r21237  
    1 -- insert skycells to diff 
     1-- insert skycells to diff
    22INSERT INTO skycellsToDiff
    33    SELECT
     
    1919            FROM stackRun
    2020            JOIN stackSumSkyfile USING(stack_id)
     21            WHERE stackSumSkyfile.fault = 0
     22                AND stackRun.state = 'full'
    2123            -- stacks where hook %s
    22             GROUP BY 
     24            GROUP BY
    2325                skycell_id,
    2426                filter
  • trunk/ippTools/src/difftool.c

    r21188 r21237  
    10041004    if (psListLength(stackWhere->list)) {
    10051005        psString whereClause = psDBGenerateWhereConditionSQL(stackWhere, NULL);
    1006         psStringAppend(&stackQuery, "\nWHERE %s", whereClause);
     1006        psStringAppend(&stackQuery, "\nAND %s", whereClause);
    10071007        psFree(whereClause);
    10081008    } else {
Note: See TracChangeset for help on using the changeset viewer.