IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2009, 11:34:07 AM (17 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/ippTools/share/disttool_definebyquery_stack.sql

    r24725 r25624  
    22    'stack' as stage,
    33    stackRun.stack_id AS stage_id,
     4    CAST(0 AS SIGNED) AS magicked,
    45    -- run tag in the form 'stack.$skycell_id.$stack_id'
    56    CONCAT_WS('.', 'stack', stackRun.skycell_id, convert(stackRun.stack_id, CHAR)) as run_tag,
     
    89    distTarget.clean
    910FROM stackRun
     11JOIN stackSumSkyfile USING(stack_id)
    1012JOIN distTarget ON distTarget.stage = 'stack'
    1113    AND stackRun.label = distTarget.label
     
    1921    AND distRun.dist_id IS NULL
    2022    AND ((stackRun.state = 'full') OR (distTarget.clean AND stackRun.state = 'cleaned'))
     23    -- we shouldn't need to check fault. If faulted it shouldn't be full
     24    AND (stackSumSkyfile.fault = 0 AND stackSumSkyfile.quality = 0)
Note: See TracChangeset for help on using the changeset viewer.