Changeset 13303
- Timestamp:
- May 7, 2007, 4:31:34 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
Nebulous-Server/lib/Nebulous/Server.pm (modified) (2 diffs)
-
Nebulous-Server/lib/Nebulous/Server/SQL.pm (modified) (2 diffs)
-
Nebulous/lib/Nebulous/Server.pm (modified) (2 diffs)
-
Nebulous/lib/Nebulous/Server/SQL.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r13302 r13303 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.4 1 2007-05-08 02:27:42jhoblitt Exp $3 # $Id: Server.pm,v 1.42 2007-05-08 02:31:34 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 1093 1093 my $rows; 1094 1094 if ( $name ) { 1095 $query = $db->prepare_cached( $sql->get_storage_volume_by name );1095 $query = $db->prepare_cached( $sql->get_storage_volume_by_name ); 1096 1096 # %free, name, avaiable, allocate 1097 1097 $rows = $query->execute(0.95, $name, 1, 1); -
trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
r13302 r13303 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: SQL.pm,v 1.4 1 2007-05-08 02:27:42jhoblitt Exp $3 # $Id: SQL.pm,v 1.42 2007-05-08 02:31:34 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server::SQL; … … 200 200 AND available = ? 201 201 }, 202 get_storage_volume_by name => qq{202 get_storage_volume_by_name => qq{ 203 203 SELECT 204 204 vol_id, -
trunk/Nebulous/lib/Nebulous/Server.pm
r13302 r13303 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.4 1 2007-05-08 02:27:42jhoblitt Exp $3 # $Id: Server.pm,v 1.42 2007-05-08 02:31:34 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 1093 1093 my $rows; 1094 1094 if ( $name ) { 1095 $query = $db->prepare_cached( $sql->get_storage_volume_by name );1095 $query = $db->prepare_cached( $sql->get_storage_volume_by_name ); 1096 1096 # %free, name, avaiable, allocate 1097 1097 $rows = $query->execute(0.95, $name, 1, 1); -
trunk/Nebulous/lib/Nebulous/Server/SQL.pm
r13302 r13303 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: SQL.pm,v 1.4 1 2007-05-08 02:27:42jhoblitt Exp $3 # $Id: SQL.pm,v 1.42 2007-05-08 02:31:34 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server::SQL; … … 200 200 AND available = ? 201 201 }, 202 get_storage_volume_by name => qq{202 get_storage_volume_by_name => qq{ 203 203 SELECT 204 204 vol_id,
Note:
See TracChangeset
for help on using the changeset viewer.
