Changeset 18017 for trunk/Nebulous-Server
- Timestamp:
- Jun 9, 2008, 10:34:30 AM (18 years ago)
- Location:
- trunk/Nebulous-Server/lib/Nebulous
- Files:
-
- 2 edited
-
Server.pm (modified) (2 diffs)
-
Server/SQL.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r17831 r18017 1 1 # Copyright (c) 2004-2008 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.7 6 2008-05-28 21:03:20 jhoblitt Exp $3 # $Id: Server.pm,v 1.77 2008-06-09 20:34:30 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 209 209 210 210 # create instance with no URI 211 # my $query = $db->prepare_cached( $sql->new_instance ); 211 212 my $query = $db->prepare_cached( $sql->new_object_instance ); 212 $query->execute($ so_id, $vol_id);213 $query->execute($vol_id); 213 214 } 214 215 -
trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
r17857 r18017 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: SQL.pm,v 1.5 6 2008-05-30 00:15:53jhoblitt Exp $3 # $Id: SQL.pm,v 1.57 2008-06-09 20:34:30 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server::SQL; … … 40 40 new_object_instance => qq{ 41 41 INSERT INTO instance 42 VALUES (NULL, LAST_INSERT_ID(), ?, 'error', NULL, NULL, NULL, NULL) 42 (so_id, vol_id, uri) 43 VALUES (LAST_INSERT_ID(), ?, 'error') 43 44 }, 44 45 new_instance => qq{ 45 46 INSERT INTO instance 46 VALUES (NULL, ?, ?, 'error', NULL, NULL, NULL, NULL) 47 (so_id, vol_id, uri) 48 VALUES (?, ?, 'error') 47 49 }, 48 50 get_object => qq{
Note:
See TracChangeset
for help on using the changeset viewer.
