aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/db_iter.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-10-14 19:54:27 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-10-14 19:54:27 -0700
commitae6601872be4065f90713b9b6ef07e9883afec79 (patch)
tree0a302d0f6f60108073ff86eb12251a47e762970d /src/leveldb/db/db_iter.h
parent928ce698848b6129502598f0a95774e58bf44ad9 (diff)
parent877b5e3653f12882e12c75aa0bb5be47f847bd09 (diff)
Merge pull request #2933 from sipa/leveldb113
Merge upstream LevelDB 1.13
Diffstat (limited to 'src/leveldb/db/db_iter.h')
-rw-r--r--src/leveldb/db/db_iter.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/leveldb/db/db_iter.h b/src/leveldb/db/db_iter.h
index d9e1b174ab..04927e937b 100644
--- a/src/leveldb/db/db_iter.h
+++ b/src/leveldb/db/db_iter.h
@@ -11,15 +11,17 @@
namespace leveldb {
+class DBImpl;
+
// Return a new iterator that converts internal keys (yielded by
// "*internal_iter") that were live at the specified "sequence" number
// into appropriate user keys.
extern Iterator* NewDBIterator(
- const std::string* dbname,
- Env* env,
+ DBImpl* db,
const Comparator* user_key_comparator,
Iterator* internal_iter,
- const SequenceNumber& sequence);
+ SequenceNumber sequence,
+ uint32_t seed);
} // namespace leveldb