IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 29, 2009, 10:49:31 AM (17 years ago)
Author:
bills
Message:

add -streaks_max to magicdstool -definebyquery
enable -definebyquery, fix a bug

File:
1 edited

Legend:

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

    r24882 r24937  
    120120    PXOPT_COPY_S64(config->args, where, "-diff_id", "diff_id", "==");
    121121    PXOPT_COPY_S64(config->args, where, "-magic_id","magic_id", "==");
     122    PXOPT_COPY_S32(config->args, where, "-streaks_max","streaks", "<=");
    122123
    123124    pxAddLabelSearchArgs (config, where, "-label", "magicRun.label", "==");
     
    166167    }
    167168    psFree(where);
    168 
    169     dry_run = true;
    170169
    171170    // treat limit == 0 as "no limit"
     
    258257                }
    259258                return false;
    260                 psS64 magic_ds_id = psDBLastInsertID(config->dbh); // Assigned identifier
    261                 run->magic_ds_id = magic_ds_id;
    262259            }
     260            psS64 magic_ds_id = psDBLastInsertID(config->dbh); // Assigned identifier
     261            run->magic_ds_id = magic_ds_id;
    263262        }
    264263
Note: See TracChangeset for help on using the changeset viewer.