IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38607


Ignore:
Timestamp:
Jul 20, 2015, 11:58:03 AM (11 years ago)
Author:
heather
Message:

fix minidvodbrunaddrun query to be faster, as suggested by gene

File:
1 edited

Legend:

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

    r33619 r38607  
    1212        FROM addRun where minidvodb_group = '%s'
    1313        GROUP BY minidvodb_name )
    14    AS foo1 ON minidvodb_name = minidbn
     14   AS foo1 ON minidvodb_name = minidbn 
    1515        -- the second select grabs and counts all the addRuns with state
    1616        -- of 'full'         
    17    WHERE addRun.state = 'full'
     17   WHERE addRun.state = 'full' and minidvodb_group = minidbg
    1818   GROUP BY minidvodb_name )
    1919AS foo2
Note: See TracChangeset for help on using the changeset viewer.