unbreak the key iterator

master
Jordan Orelli 10 years ago
parent 7df343cb1a
commit e4e4b940f0

@ -109,7 +109,7 @@ func (s *serverConnection) handleAuthRequest(body json.RawMessage) error {
} }
func (s *serverConnection) handleNoteRequest(body json.RawMessage) error { func (s *serverConnection) handleNoteRequest(body json.RawMessage) error {
r := &util.Range{Start: []byte("notes/")} r := util.BytesPrefix([]byte("notes/"))
it := s.db.NewIterator(r, nil) it := s.db.NewIterator(r, nil)
defer it.Release() defer it.Release()

Loading…
Cancel
Save