IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 27, 2008, 11:59:53 AM (18 years ago)
Author:
jhoblitt
Message:

add neb-admin util

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm

    r17772 r17815  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.51 2008-05-22 04:10:01 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.52 2008-05-27 21:59:53 jhoblitt Exp $
    44
    55package Nebulous::Server::SQL;
     
    249249            ext_id,
    250250            count(ins_id) as instances,
     251            volume.name as volume_name,
    251252            count(mountedvol.vol_id) as available_instances,
    252253            count(mountedvol.vol_id) > 0 as recoverable,
     
    255256        JOIN instance
    256257            USING(so_id)
     258        JOIN volume
     259            USING(vol_id)
    257260        LEFT JOIN storage_object_xattr
    258261            ON storage_object.so_id = storage_object_xattr.so_id
Note: See TracChangeset for help on using the changeset viewer.