IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9310


Ignore:
Timestamp:
Oct 5, 2006, 12:11:49 PM (20 years ago)
Author:
jhoblitt
Message:

fix -pendingexp

File:
1 edited

Legend:

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

    r9274 r9310  
    5252    PS_ASSERT_PTR_NON_NULL(config, false);
    5353
    54     psString query = psStringCopy("SELECT * FROM p3PendingExp");
     54    psString query = psStringCopy(
     55            "SELECT * FROM p3PendingExp"
     56            " LEFT JOIN p3ProcessedExp"
     57            "   USING(exp_tag)"
     58            " WHERE"
     59            "   p3ProcessedExp.exp_tag IS NULL"
     60    );
    5561
    5662    if (config->where) {
    57         psString whereClause = psDBGenerateWhereSQL(config->where, NULL);
     63        psString whereClause = psDBGenerateWhereConditionSQL(config->where, NULL);
    5864        psStringAppend(&query, " %s", whereClause);
    5965        psFree(whereClause);
Note: See TracChangeset for help on using the changeset viewer.