Changeset 24643
- Timestamp:
- Jul 2, 2009, 2:14:41 PM (17 years ago)
- Location:
- trunk/Nebulous-Server
- Files:
-
- 3 edited
-
lib/Nebulous/Server.pod (modified) (1 diff)
-
lib/Nebulous/Server/SQL.pm (modified) (1 diff)
-
t/10_server_stat_object.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pod
r24639 r24643 182 182 epoch 183 183 mtime 184 number of instances185 184 number of available instances 185 total number of instances 186 186 187 187 =item * mounts( $key ); -
trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm
r24639 r24643 89 89 attr.epoch, 90 90 attr.mtime, 91 COUNT(instance.so_id) as instances,92 SUM(available) as available91 SUM(available) as available, 92 COUNT(instance.so_id) as instances 93 93 FROM storage_object as so 94 94 JOIN storage_object_attr as attr -
trunk/Nebulous-Server/t/10_server_stat_object.t
r24639 r24643 44 44 like(@$info[4], qr/....-..-.. ..:..:../, "epoch"); 45 45 like(@$info[5], qr/....-..-.. ..:..:../, "mtime"); 46 is(@$info[6], 1, " instances");47 is(@$info[7], 1, " availableinstances");46 is(@$info[6], 1, "available instances"); 47 is(@$info[7], 1, "total instances"); 48 48 } 49 49
Note:
See TracChangeset
for help on using the changeset viewer.
