Commit d2173d08 authored by Michael Muré's avatar Michael Muré Committed by Steven Allen

query: always return the size

fix #34
parent 08467f08
......@@ -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