projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEWS and TODO file updates.
[cumulus.git]
/
contrib
/
upgrade0.6-localdb.sql
diff --git
a/contrib/upgrade0.6-localdb.sql
b/contrib/upgrade0.6-localdb.sql
index
ce8797c
..
49fc1aa
100644
(file)
--- a/
contrib/upgrade0.6-localdb.sql
+++ b/
contrib/upgrade0.6-localdb.sql
@@
-68,8
+68,8
@@
drop view cleaning_order;
drop view segment_info;
create view segment_info as
drop view segment_info;
create view segment_info as
-select segmentid, mtime, size,
cast(size * utilization as integer) as used
,
- utilization
+select segmentid, mtime, size,
expire_time
,
+
cast(size * utilization as integer) as used,
utilization
from segments join
(select segmentid, max(utilization) as utilization
from segments_used group by segmentid)
from segments join
(select segmentid, max(utilization) as utilization
from segments_used group by segmentid)