IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2010, 3:23:12 PM (16 years ago)
Author:
watersc1
Message:

Slight bug in the updatebyquery code, in which updating an exposure with a select by state would invalidate the update of the imfiles. The sql change helps avoid this issue.

File:
1 edited

Legend:

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

    r27163 r27168  
    11SELECT rawImfile.*,rawExp.workdir,rawExp.exp_tag from rawImfile
    22       JOIN rawExp USING(exp_id)
    3        WHERE (data_state = 'goto_compressed' OR data_state = 'goto_lossy')
     3       WHERE ((data_state = 'goto_compressed' AND state = 'goto_compressed')
     4           OR (data_state = 'goto_lossy' AND state = 'goto_lossy'))
    45-- where hook %s
    56-- limit hook %s       
Note: See TracChangeset for help on using the changeset viewer.