IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18613


Ignore:
Timestamp:
Jul 18, 2008, 11:33:36 AM (18 years ago)
Author:
Paul Price
Message:

WHERE is already present in the query.

File:
1 edited

Legend:

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

    r18561 r18613  
    440440{
    441441    PS_ASSERT_PTR_NON_NULL(config, false);
    442    
     442
    443443    PXOPT_LOOKUP_S64(diff_id, config->args, "-diff_id", true, false); // required
    444444    PXOPT_LOOKUP_S16(code, config->args, "-code", false, false);
     
    825825    if (template) {
    826826        // list only faulted rows
    827         psStringAppend(&query, " %s", "WHERE diffInputSkyfile.template != 0");
     827        psStringAppend(&query, " %s", " AND diffInputSkyfile.template != 0");
    828828    } else {
    829829        // don't list faulted rows
    830         psStringAppend(&query, " %s", "WHERE diffInputSkyfile.template = 0");
     830        psStringAppend(&query, " %s", " AND diffInputSkyfile.template = 0");
    831831    }
    832832
Note: See TracChangeset for help on using the changeset viewer.