IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30809


Ignore:
Timestamp:
Mar 5, 2011, 7:20:30 PM (15 years ago)
Author:
bills
Message:

respect Label status at raw stage

File:
1 edited

Legend:

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

    r29561 r30809  
    2424    re_place,
    2525    remove,
    26     10000 AS priority
     26    IFNULL(Label.priority, 10000) AS priority
    2727FROM magicDSRun
    2828JOIN magicMask USING (magic_id)
     
    3535    ON magicDSRun.magic_ds_id = magicDSFile.magic_ds_id
    3636    AND magicDSFile.component = rawImfile.class_id
     37LEFT JOIN Label ON magicDSRun.label = Label.label
    3738WHERE
    3839    magicDSRun.state = 'new'
    3940    AND magicDSRun.stage = 'raw'
    4041    AND magicDSFile.component IS NULL
     42    AND (Label.active OR Label.active IS NULL)
     43
Note: See TracChangeset for help on using the changeset viewer.