Forget to call Next() on iterator ... again. :-(

This commit is contained in:
Sascha L. Teichmann 2014-09-01 16:15:16 +02:00
parent bebe776e54
commit 5246a62c34

View File

@ -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)