IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9489


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

fix -tonormalizedstat so that HAVING can see the approprate fields

File:
1 edited

Legend:

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

    r9488 r9489  
    17251725
    17261726    psString query = psStringCopy(
    1727         "SELECT DISTINCT"
     1727        "SELECT"
     1728        "   det_id,"
     1729        "   det_type,"
     1730        "   iteration,"
     1731        "   camera"
     1732        " FROM"
     1733        "(SELECT DISTINCT"
    17281734        "   detRun.det_id,"
    17291735        "   detRun.det_type,"
    17301736        "   detRun.iteration,"
    1731         "   rawDetrendExp.camera"
    1732 // XXX determine if these fields are truely visible to HAVING without
    1733 // explicitly selecting them
    1734 //        "   rawDetrendExp.imfiles,"
    1735 //        "   detStackedImfile.class_id"
     1737        "   rawDetrendExp.camera,"
     1738        "   rawDetrendExp.imfiles,"
     1739        "   detStackedImfile.class_id"
    17361740        " FROM detRun"
    17371741        " JOIN detInputExp"
     
    17571761        "   detRun.det_id"
    17581762        " HAVING MAX(rawDetrendExp.imfiles) = COUNT(detStackedImfile.class_id)"
     1763        ") as tonormalizedstat"
    17591764        );
    17601765
Note: See TracChangeset for help on using the changeset viewer.