IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2009, 10:21:10 PM (17 years ago)
Author:
bills
Message:

accept -label as an argument to magicdstool -revertdestreakedfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/magicdstool.c

    r24683 r24693  
    799799    PXOPT_COPY_STR(config->args, where, "-component", "component", "==");
    800800    PXOPT_COPY_S16(config->args, where, "-fault", "fault", "==");
    801 
    802     psString query = psStringCopy("DELETE FROM magicDSFile WHERE fault != 0");
     801    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
     802
     803    psString query = psStringCopy("DELETE FROM magicDSFile USING magicDSFile, magicDSRun  WHERE (magicDSRun.magic_ds_id = magicDSFile.magic_ds_id) AND magicDSFile.fault != 0");
    803804
    804805    if (psListLength(where->list)) {
Note: See TracChangeset for help on using the changeset viewer.