Changeset 16265 for trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
- Timestamp:
- Jan 30, 2008, 4:26:33 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
r16264 r16265 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: SQL.pm,v 1.4 6 2008-01-30 00:19:06jhoblitt Exp $3 # $Id: SQL.pm,v 1.47 2008-01-31 02:26:33 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(), 0, 'error', NULL, NULL, NULL, NULL)42 VALUES (NULL, LAST_INSERT_ID(), ?, 'error', NULL, NULL, NULL, NULL) 43 43 }, 44 44 new_instance => qq{ 45 45 INSERT INTO instance 46 VALUES (NULL, ?, 0, 'error', NULL,NULL, NULL, NULL)46 VALUES (NULL, ?, ?, 'error', NULL, NULL, NULL, NULL) 47 47 }, 48 48 get_object => qq{ … … 253 253 count(mountedvol.vol_id) > 0 as recoverable 254 254 FROM storage_object 255 JOIN storage_object_attr 256 USING(so_id) 257 JOIN storage_object_xattr 258 ON storage_object.so_id = storage_object_xattr.so_id 259 AND storage_object_xattr.name = 'copies' 255 260 JOIN instance 256 261 USING(so_id)
Note:
See TracChangeset
for help on using the changeset viewer.
