IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27207


Ignore:
Timestamp:
Mar 5, 2010, 1:02:51 PM (16 years ago)
Author:
Paul Price
Message:

Don't copy only if destreak run is already defined with the same label (and rerun isn't on).

Location:
trunk/ippTools
Files:
3 edited

Legend:

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

    r26912 r27207  
    2727        ON magicRun.magic_id = magicDSRun.magic_id
    2828        AND magicDSRun.stage  = 'chip'
     29        AND magicDSRun.label = '%s'
    2930WHERE magicRun.state = 'full'
    3031    -- HOOK: NEWLINE HERE TO ACTIVATE %s AND magicDSRun.magic_ds_id IS NULL
  • trunk/ippTools/share/magicdstool_definecopy_warp.sql

    r26935 r27207  
    2929        ON magicRun.magic_id = magicDSRun.magic_id
    3030        AND magicDSRun.stage  = 'warp'
     31        AND magicDSRun.label = '%s'
    3132WHERE magicRun.state = 'full'
    3233    -- HOOK: NEWLINE HERE TO ACTIVATE %s AND magicDSRun.magic_ds_id IS NULL
  • trunk/ippTools/src/magicdstool.c

    r27206 r27207  
    408408            psFree(limitString);
    409409        }
    410         if (!p_psDBRunQueryF(config->dbh, query, rerun_flag)) {
     410        if (!p_psDBRunQueryF(config->dbh, query, set_label, rerun_flag)) {
    411411            psError(PS_ERR_UNKNOWN, false, "database error");
    412412            psFree(query);
Note: See TracChangeset for help on using the changeset viewer.