aboutsummaryrefslogtreecommitdiff
path: root/db.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-06-24 11:58:46 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-06-24 11:58:46 -0600
commitd1a77a9c821e391c8058f22f970c2d4f44cbce50 (patch)
tree18978b862dc12880a1f132998f7ea8e8ad65c712 /db.go
parentMerge pull request #213 from Shopify/stats_sub2 (diff)
downloaddedo-d1a77a9c821e391c8058f22f970c2d4f44cbce50.tar.gz
dedo-d1a77a9c821e391c8058f22f970c2d4f44cbce50.tar.xz
Minor fix.
Diffstat (limited to 'db.go')
-rw-r--r--db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.go b/db.go
index 2fc9065..7e60b04 100644
--- a/db.go
+++ b/db.go
@@ -578,7 +578,7 @@ func (s *Stats) Sub(other *Stats) Stats {
if other == nil {
return *s
}
- var diff Stat
+ var diff Stats
diff.TxN = other.TxN - s.TxN
diff.TxStats = s.TxStats.Sub(&other.TxStats)
return diff