IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36963


Ignore:
Timestamp:
Jul 2, 2014, 3:23:17 PM (12 years ago)
Author:
watersc1
Message:

I need to change this because I have warp_ids that match chip_ids from a previous run. This seems to break that degeneracy, so if this moves on, I'll probably need to port this change to the other stage/defines.

The important thing is that for this label/stage combo, no run exists that also contains this label/stage/id combo.

File:
1 edited

Legend:

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

    r36897 r36963  
    55    LEFT JOIN remoteComponent ON (remoteComponent.stage_id = warpRun.warp_id)
    66    LEFT JOIN remoteRun ON (remoteComponent.remote_id = remoteRun.remote_id
    7                         AND remoteRun.label = warpRun.label             )
     7                        AND remoteRun.label = warpRun.label             
     8                        AND (remoteRun.stage = 'warp' OR remoteRun.state IS NULL)
     9                        )
    810WHERE warpRun.state = 'new'
    911AND (remoteRun.stage = 'warp' OR remoteRun.state IS NULL)
    10 AND remoteComponent.remote_id IS NULL
     12-- AND remoteComponent.remote_id IS NULL
    1113-- where hook %s
    1214GROUP BY warp_id
Note: See TracChangeset for help on using the changeset viewer.