Changeset 20023
- Timestamp:
- Oct 9, 2008, 11:30:10 AM (18 years ago)
- Location:
- trunk/Nebulous-Server
- Files:
-
- 2 edited
-
Changes (modified) (1 diff)
-
lib/Nebulous/Server/SQL.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/Changes
r19959 r20023 22 22 - change getmountedvol() to use a view of the volume table to avoid table 23 23 level locks being set by a cursor 24 - drop instance.sha1sum and instance.assigned_vol_id 24 25 25 26 0.15 Thu Sep 11 13:00:59 HST 2008 -
trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
r20019 r20023 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: SQL.pm,v 1. 69 2008-10-09 20:37:41jhoblitt Exp $3 # $Id: SQL.pm,v 1.70 2008-10-09 21:30:10 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server::SQL; … … 174 174 storage_object.so_id, 175 175 uri, 176 assigned_vol_id,177 176 available 178 177 FROM storage_object … … 187 186 SELECT 188 187 storage_object.so_id, 189 uri, 190 assigned_vol_id 188 uri 191 189 FROM storage_object 192 190 JOIN instance … … 434 432 FOREIGN KEY(vol_id) REFERENCES volume(vol_id), 435 433 uri VARCHAR(255) NOT NULL UNIQUE, 436 sha1sum CHAR(40) ASCII,437 assigned_vol_id INT,438 434 epoch TIMESTAMP DEFAULT CURRENT_TIMESTAMP, 439 435 mtime TIMESTAMP,
Note:
See TracChangeset
for help on using the changeset viewer.
