Changeset 17830
- Timestamp:
- May 28, 2008, 10:49:34 AM (18 years ago)
- Location:
- trunk/Nebulous-Server
- Files:
-
- 3 edited
-
Changes (modified) (1 diff)
-
lib/Nebulous/Server.pm (modified) (2 diffs)
-
lib/Nebulous/Server/SQL.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/Changes
r17815 r17830 2 2 3 3 0.12 4 - remove the use of LAST_INSERT_ID() from the new_object_instance query 4 5 - add neb-admin util 5 6 - fix Nebulous::Server::setxattr_object() so that creating a new xattr with -
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r17761 r17830 1 1 # Copyright (c) 2004-2008 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.7 4 2008-05-21 19:57:19jhoblitt Exp $3 # $Id: Server.pm,v 1.75 2008-05-28 20:49:34 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 207 207 208 208 { 209 209 210 # create instance with no URI 210 211 my $query = $db->prepare_cached( $sql->new_object_instance ); 211 $query->execute($ vol_id);212 $query->execute($so_id, $vol_id); 212 213 } 213 214 -
trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
r17816 r17830 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: SQL.pm,v 1.5 3 2008-05-27 22:09:35jhoblitt Exp $3 # $Id: SQL.pm,v 1.54 2008-05-28 20:49:34 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 VALUES (NULL, ?, ?, 'error', NULL, NULL, NULL, NULL) 43 43 }, 44 44 new_instance => qq{
Note:
See TracChangeset
for help on using the changeset viewer.
