IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/Nebulous-Server/lib/Nebulous/Server/SQL.pm

    r24643 r24951  
    183183        WHERE ins_id = ?
    184184    },
    185     delete_instance_by_so_id => qq{
    186         DELETE FROM instance
    187         WHERE so_id = ?
    188     },
    189185    get_object_from_uri   => qq{
    190186        SELECT so_id
     
    218214        GROUP BY so_id
    219215    },
    220     copy_instances_to_deleted => qq{
     216    copy_dead_instances_to_deleted => qq{
    221217        INSERT INTO deleted
    222218        SELECT vol_id, uri, NULL
    223219        FROM instance
     220        LEFT JOIN mountedvol
     221            USING(vol_id)
    224222        WHERE
    225223            so_id = ?
     224            AND (mountedvol.available IS NULL || mountedvol.available = 0)
     225    },
     226    find_dead_instances_by_so_id => qq{
     227        SELECT so_id, ins_id, vol_id, uri
     228        FROM instance
     229        LEFT JOIN mountedvol
     230            USING(vol_id)
     231        WHERE
     232            so_id = ?
     233            AND (mountedvol.available IS NULL || mountedvol.available = 0)
    226234    },
    227235    get_object_instances    => qq{
     
    329337    },
    330338    find_object_by_ext_id => qq{
    331         SELECT ext_id, ext_id_basename
     339        SELECT so_id, ext_id, ext_id_basename
    332340        FROM storage_object
    333341        WHERE ext_id = ?
Note: See TracChangeset for help on using the changeset viewer.