Don't hardcode stop on read

This commit is contained in:
Jeffrey Picard 2021-12-07 07:26:00 -05:00
parent beae3d4cb2
commit 01a938487a

View file

@ -23,7 +23,7 @@ func OpenDB(name string) int {
var i = 0
it.Seek([]byte("foo"))
for it = it; it.Valid() && i < 10; it.Next() {
for it = it; it.Valid(); it.Next() {
key := it.Key()
value := it.Value()