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)