Don't hardcode stop on read
This commit is contained in:
parent
beae3d4cb2
commit
01a938487a
1 changed files with 1 additions and 1 deletions
2
db/db.go
2
db/db.go
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue