IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32834


Ignore:
Timestamp:
Nov 29, 2011, 2:12:33 PM (14 years ago)
Author:
bills
Message:

make sure that singlefilter staticsky runs don't get queued unless -singlefilter is supplied

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20111110/ippTools/src/disttool.c

    r32702 r32834  
    419419    }
    420420
    421     if (!strcmp(stage, "sky") && single) {
    422         psStringAppend(&query, "\nGROUP BY sky_id HAVING count(stack_id) = 1");
     421    if (!strcmp(stage, "sky")) {
     422        if (single) {
     423            psStringAppend(&query, "\nGROUP BY sky_id HAVING count(stack_id) = 1");
     424        } else {
     425            psStringAppend(&query, "\nGROUP BY sky_id HAVING count(stack_id) > 1");
     426        }
    423427    }
    424428
Note: See TracChangeset for help on using the changeset viewer.