Unverified Commit 9ad1663b authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #35 from MichaelMure/returnsizes

query: always return the size
parents 08467f08 d2173d08
......@@ -133,7 +133,7 @@ func (a *accessor) Query(q dsq.Query) (dsq.Results, error) {
return dsq.Result{}, false
}
k := string(i.Key())
e := dsq.Entry{Key: k}
e := dsq.Entry{Key: k, Size: len(i.Value())}
if !q.KeysOnly {
buf := make([]byte, len(i.Value()))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment