Level / memdown

In-memory abstract-leveldown store for Node.js and browsers.
MIT License
287 stars 37 forks source link

iterator: fix start after db end handling #2

Closed juliangruber closed 11 years ago

juliangruber commented 11 years ago

This fixes memdown for the new test I added to abstract-leveldown: https://github.com/rvagg/node-abstract-leveldown/commit/4319e5d3d8da69ab072db78708cfb00b83e253b6

Without this fix a iterator that starts after the db end and isn't reversed will emit everything instead of nothing.

rvagg commented 11 years ago

ok, I'll believe you on this one

juliangruber commented 11 years ago

Before this fix, what happened was: