IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2015, 3:05:43 PM (11 years ago)
Author:
watersc1
Message:

Changes to remotetool to support stage=diff

File:
1 edited

Legend:

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

    r37833 r38080  
    155155  else if (!strcmp(stage,"staticsky")) {
    156156    query = pxDataGet("remotetool_definebyquery_staticsky.sql");
     157    if (!query) {
     158      psError(PXTOOLS_ERR_SYS,false, "failed to retreive SQL statement");
     159      return(false);
     160    }
     161
     162    if (label) {
     163      psStringAppend(&whereOption, "\n AND (label = '%s')", label);
     164    }
     165  }
     166  else if (!strcmp(stage,"diff")) {
     167    query = pxDataGet("remotetool_definebyquery_diff.sql");
    157168    if (!query) {
    158169      psError(PXTOOLS_ERR_SYS,false, "failed to retreive SQL statement");
Note: See TracChangeset for help on using the changeset viewer.