IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28365


Ignore:
Timestamp:
Jun 16, 2010, 2:44:25 PM (16 years ago)
Author:
Paul Price
Message:

Fix advance queries.

Location:
trunk/ippTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/diffphottool_advance.sql

    r28364 r28365  
    99    AND diffSkyfile.quality = 0
    1010-- WHERE hook %s
     11GROUP BY diff_phot_id
    1112HAVING COUNT(diffPhotSkyfile.skycell_id) = COUNT(diffSkyfile.skycell_id)
  • trunk/ippTools/src/diffphottool.c

    r28364 r28365  
    428428        psS64 diff_phot_id = psMetadataLookupS64(NULL, row, "diff_phot_id");
    429429
    430         const char *query = "UPDATE diffRun SET state = 'full' WHERE diff_id = %" PRId64;
     430        const char *query = "UPDATE diffPhotRun SET state = 'full' WHERE diff_phot_id = %" PRId64;
    431431        if (!p_psDBRunQueryF(config->dbh, query, diff_phot_id)) {
    432432            psError(psErrorCodeLast(), false,
Note: See TracChangeset for help on using the changeset viewer.