|
|
@ -10,6 +10,7 @@ |
|
|
|
#include "util/arena.h" |
|
|
|
#include "util/arena.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace rocksdb { |
|
|
|
namespace rocksdb { |
|
|
|
|
|
|
|
|
|
|
|
class ReadableWriteBatch : public WriteBatch { |
|
|
|
class ReadableWriteBatch : public WriteBatch { |
|
|
|
public: |
|
|
|
public: |
|
|
|
explicit ReadableWriteBatch(size_t reserved_bytes = 0) |
|
|
|
explicit ReadableWriteBatch(size_t reserved_bytes = 0) |
|
|
@ -120,7 +121,6 @@ class WBWIIteratorImpl : public WBWIIterator { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct WriteBatchWithIndex::Rep { |
|
|
|
struct WriteBatchWithIndex::Rep { |
|
|
|
Rep(const Comparator* index_comparator, size_t reserved_bytes = 0) |
|
|
|
Rep(const Comparator* index_comparator, size_t reserved_bytes = 0) |
|
|
|