IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16688


Ignore:
Timestamp:
Feb 27, 2008, 12:04:31 PM (18 years ago)
Author:
jhoblitt
Message:

stacktool -definebyquery fixes

Location:
trunk/ippTools
Files:
2 edited

Legend:

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

    r16687 r16688  
    1616    WHERE
    1717        warpRun.state = 'stop'
    18     GROUP BY
    19         warp_id
     18-- It seems like we should be grouping the results here but in fact we don't
     19-- want to do that as each warp_id may contain multiple skycells.  So a warp_id
     20-- may end up in more than one stackRun (for different skycells)
     21--    GROUP BY
     22--        warp_id
    2023
  • trunk/ippTools/src/stacktool.c

    r16687 r16688  
    246246        for (long j = 0; j < psArrayLength(col); j++) {
    247247            bool status;
    248             psS64 warp_id = psMetadataLookupS64(&status, col->data[0], "warp_id");
     248            psS64 warp_id = psMetadataLookupS64(&status, col->data[j], "warp_id");
    249249            if (!status) {
    250250                if (!psDBRollback(config->dbh)) {
Note: See TracChangeset for help on using the changeset viewer.