IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19792


Ignore:
Timestamp:
Sep 30, 2008, 4:06:17 PM (18 years ago)
Author:
jhoblitt
Message:

fix getmountedvol() stored proc to not add volumes to the mountedvol table that are not available

Location:
trunk/Nebulous-Server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/Changes

    r19791 r19792  
    88      monitoring and then only for paths that actually have volumes mounted on
    99      them
     10    - fix getmountedvol() stored proc to not add volumes to the mountedvol
     11      table that are not available
    1012
    11130.15 Thu Sep 11 13:00:59 HST 2008
  • trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm

    r19641 r19792  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.64 2008-09-22 21:22:52 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.65 2008-10-01 02:06:17 jhoblitt Exp $
    44
    55package Nebulous::Server::SQL;
     
    523523                (SELECT *, INSTR(pathvar, mountpoint) = 1 as substring
    524524                FROM mount
     525                HAVING substring = 1
    525526                ORDER BY substring DESC, LENGTH(mountpoint) DESC
    526527                LIMIT 1) as bar;
Note: See TracChangeset for help on using the changeset viewer.