IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 8, 2010, 11:15:35 AM (16 years ago)
Author:
bills
Message:

Implement ordering of pending components by priority

File:
1 edited

Legend:

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

    r27945 r29358  
    1919    recoveryroot,
    2020    re_place,
    21     remove
     21    remove,
     22    IFNULL(Label.priority, 10000) AS priority
    2223FROM magicDSRun
    2324JOIN magicMask USING (magic_id)
     
    3132    ON magicDSRun.magic_ds_id = magicDSFile.magic_ds_id
    3233    AND magicDSFile.component = chipProcessedImfile.class_id
     34LEFT JOIN Label
     35    ON magicDSRun.label = Label.label
    3336WHERE
    3437    magicDSRun.state = 'new'
     
    3841    AND chipProcessedImfile.quality = 0
    3942    AND magicDSFile.component IS NULL
     43    AND (Label.active OR Label.active IS NULL)
Note: See TracChangeset for help on using the changeset viewer.