IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2010, 12:21:48 PM (16 years ago)
Author:
watersc1
Message:

Implement stackstack diff mode, based on already existing warpstack code.

Rework cleanup sql a bit to be lighter on the database server.

File:
1 edited

Legend:

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

    r25800 r26927  
    2525            USING(exp_id)
    2626        WHERE
     27        @INNERCONSTRAINT@
    2728            (diffRun.state = 'goto_cleaned' OR
    2829             diffRun.state = 'goto_scrubbed' OR
     
    5253            USING(exp_id)
    5354        WHERE
     55        @INNERCONSTRAINT@
    5456            (diffRun.state = 'goto_cleaned' OR
    5557             diffRun.state = 'goto_scrubbed' OR
     
    6466        JOIN diffInputSkyfile
    6567            USING(diff_id)
    66         JOIN stackSumSkyfile
    67             ON  diffInputSkyfile.stack1 = stackSumSkyfile.stack_id
     68--      JOIN stackSumSkyfile
     69--          ON  diffInputSkyfile.stack1 = stackSumSkyfile.stack_id
    6870        JOIN stackInputSkyfile
    6971            ON diffInputSkyfile.stack1 = stackInputSkyfile.stack_id
     
    7981            USING(exp_id)
    8082        WHERE
     83        @INNERCONSTRAINT@
    8184            (diffRun.state = 'goto_cleaned' OR
    8285             diffRun.state = 'goto_scrubbed' OR
     
    9194        JOIN diffInputSkyfile
    9295            USING(diff_id)
    93         JOIN stackSumSkyfile
    94             ON  diffInputSkyfile.stack2 = stackSumSkyfile.stack_id
     96--      JOIN stackSumSkyfile
     97--          ON  diffInputSkyfile.stack2 = stackSumSkyfile.stack_id
    9598        JOIN stackInputSkyfile
    9699            ON diffInputSkyfile.stack2 = stackInputSkyfile.stack_id
     
    106109            USING(exp_id)
    107110        WHERE
     111        @INNERCONSTRAINT@
    108112            (diffRun.state = 'goto_cleaned' OR
    109113             diffRun.state = 'goto_scrubbed' OR
Note: See TracChangeset for help on using the changeset viewer.