IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 29, 2010, 12:04:03 PM (16 years ago)
Author:
bills
Message:

order work to do by priority

File:
1 edited

Legend:

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

    r27276 r28768  
    77    -- note that the type stays a 64 bit int
    88    magicNodeResult.magic_id IS TRUE AS done,
    9     magicNodeResult.fault IS TRUE AS bad
     9    magicNodeResult.fault IS TRUE AS bad,
     10    IFNULL(Label.priority, 10000) AS priority
    1011FROM magicRun
    1112JOIN magicTree USING(magic_id)
     
    1819    ON diffRun.diff_id =  diffSkyfile.diff_id
    1920LEFT JOIN magicNodeResult USING(magic_id, node)
     21LEFT JOIN Label ON magicRun.label = Label.label
    2022WHERE
    2123    magicRun.state = 'new'
     
    2325    AND magicNodeResult.node IS NULL
    2426    AND diffRun.state = 'full'
     27    AND (Label.active OR Label.active IS NULL)
    2528-- WHERE hook %s
Note: See TracChangeset for help on using the changeset viewer.