IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.