IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 7, 2009, 9:32:20 AM (17 years ago)
Author:
bills
Message:

fix bugs in testing for presence of search arguments

File:
1 edited

Legend:

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

    r25775 r25790  
    706706        psStringAppend(&query, " WHERE %s", whereClause);
    707707        psFree(whereClause);
    708     } else if (all) {
    709         if (where2) {
    710             psStringAppend(&query, " WHERE diffRun.diff_id is not null %s", where2);
    711         }
    712     } else {
     708    } else if (where2) {
     709        psStringAppend(&query, " WHERE diffRun.diff_id is not null %s", where2);
     710    } else if (!all) {
    713711        psError(PXTOOLS_ERR_DATA, true, "search parameters or -all are required");
    714712        return false;
Note: See TracChangeset for help on using the changeset viewer.