From 5246a62c346812f6b6434dc2b9ee1d4cbf3449d9 Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Mon, 1 Sep 2014 16:15:16 +0200 Subject: [PATCH] Forget to call Next() on iterator ... again. :-( --- leveldb.go | 1 + 1 file changed, 1 insertion(+) diff --git a/leveldb.go b/leveldb.go index e997bce..058a88c 100644 --- a/leveldb.go +++ b/leveldb.go @@ -290,6 +290,7 @@ func (ldbs *LevelDBSession) plainSpatialQuery(first, second []byte, done chan st case <-done: return } + it.Next() } if err = it.GetError(); err != nil { log.Printf("iterating failed: %s", err)