IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 13, 2009, 12:37:33 PM (17 years ago)
Author:
Paul Price
Message:

Merging branches/pap_magic@24173 into trunk. One conflict in dbconfig/changes.txt resolved easily.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippTools/share/magictool_toprocess_tree.sql

    r23971 r24174  
    11SELECT
    22    magicTree.*,
    3     exp_id,
    4     camera,
    53    magicRun.workdir,
     4    rawExp.exp_id,
     5    rawExp.camera,
    66    -- convert magic_id into a boolean value (1 or 0)
    77    -- note that the type stays a 64 bit int
    8     magicNodeResult.magic_id IS TRUE as done,
    9     magicNodeResult.fault IS TRUE as bad,
    10     'notused' as template_uri
     8    magicNodeResult.magic_id IS TRUE AS done,
     9    magicNodeResult.fault IS TRUE AS bad
    1110FROM magicTree
    1211JOIN magicRun USING(magic_id)
    1312JOIN rawExp USING(exp_id)
    14 LEFT JOIN magicNodeResult
    15     ON magicTree.magic_id = magicNodeResult.magic_id
    16     AND magicTree.node = magicNodeResult.node
     13LEFT JOIN magicNodeResult USING(magic_id, node)
    1714WHERE
    1815    magicRun.state = 'new'
    19     -- where hook %s
     16-- WHERE hook %s
    2017ORDER BY
    2118    magicRun.magic_id
Note: See TracChangeset for help on using the changeset viewer.