IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2010, 2:11:08 PM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/czw_branch/20100427
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20100427

  • branches/czw_branch/20100427/ippTools/share/chiptool_setimfiletoupdate.sql

    r27391 r28031  
    11UPDATE chipRun
    22    JOIN chipProcessedImfile USING(chip_id)
     3    LEFT JOIN magicDSRun ON (stage_id = chip_id AND stage = 'chip')
     4    LEFT JOIN magicDSFile ON (magicDSRun.magic_ds_id = magicDSFile.magic_ds_id
     5                              AND component = class_id)
    36SET chipRun.state = 'update',
    47    chipProcessedImfile.data_state = 'update'
     
    710    AND (chipRun.state = 'cleaned' OR chipRun.state = 'update')
    811    AND (chipProcessedImfile.data_state = 'cleaned')
     12    -- don't queue update if the associated magicDSFile exists
     13    AND (chipRun.magicked = 0
     14      OR (magicDSRun.state = 'cleaned' OR magicDSRun.state = 'new')
     15            AND magicDSFile.component IS NULL)
Note: See TracChangeset for help on using the changeset viewer.