Interleaver: Advance iterator in LevelDB producer.

This commit is contained in:
Sascha L. Teichmann 2014-08-24 21:19:40 +02:00
parent 307d1aec44
commit 758ef7afc5

View File

@ -94,6 +94,7 @@ func (ldbp *LevelDBBlockProducer) Next(block *Block) (err error) {
}
block.Coord = ldbp.splitter(key)
block.Data = ldbp.iterator.Value()
ldbp.iterator.Next()
return
}