IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 30, 2005, 2:11:12 PM (21 years ago)
Author:
jhoblitt
Message:

add new_volume()

File:
1 edited

Legend:

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

    r4894 r4906  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.6 2005-08-27 03:40:25 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.7 2005-08-31 00:11:12 jhoblitt Exp $
    44
    55package Nebulous::Server::SQL;
     
    9696    get_storage_volume          => qq{
    9797        SELECT uri FROM volume ORDER BY rand() LIMIT 1
     98    },
     99    new_volume          => qq{
     100        INSERT INTO volume
     101        VALUES (?, ?)
    98102    },
    99103);
Note: See TracChangeset for help on using the changeset viewer.