projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5949214
)
Cleanup to used data tracking in localdb.
author
Michael Vrable
<vrable@cs.hmc.edu>
Thu, 25 Apr 2013 19:49:26 +0000
(12:49 -0700)
committer
Michael Vrable
<vrable@cs.hmc.edu>
Sun, 26 Jan 2014 20:26:33 +0000
(12:26 -0800)
localdb.cc
patch
|
blob
|
history
diff --git
a/localdb.cc
b/localdb.cc
index
a23ca5e
..
0c9dac4
100644
(file)
--- a/
localdb.cc
+++ b/
localdb.cc
@@
-452,7
+452,7
@@
void LocalDb::UseObject(const ObjectReference& ref)
// size will have a reference size capped at just less than the full object
// size (we can't tell if some bytes were referenced multiple times, and
// thus we conservatively assume some bytes might still be unreferenced).
- int64_t new_refs
= old_size
;
+ int64_t new_refs;
if (ref.has_range()) {
new_refs = ref.get_range_length();
} else {