From 7a93495a422307c43ba1182d4966980793e7f003 Mon Sep 17 00:00:00 2001 From: iFA Date: Thu, 3 Sep 2020 08:51:11 +0200 Subject: [PATCH] Update db.pxd --- rocksdb/db.pxd | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rocksdb/db.pxd b/rocksdb/db.pxd index 59be3fa..e5c239c 100644 --- a/rocksdb/db.pxd +++ b/rocksdb/db.pxd @@ -1,12 +1,12 @@ -cimport options +from . cimport options from libc.stdint cimport uint64_t, uint32_t -from status cimport Status +from .status cimport Status from libcpp cimport bool as cpp_bool from libcpp.string cimport string from libcpp.vector cimport vector -from slice_ cimport Slice -from snapshot cimport Snapshot -from iterator cimport Iterator +from .slice_ cimport Slice +from .snapshot cimport Snapshot +from .iterator cimport Iterator cdef extern from "rocksdb/write_batch.h" namespace "rocksdb": cdef cppclass WriteBatch: @@ -169,6 +169,7 @@ cdef extern from "rocksdb/db.h" namespace "rocksdb": Status Flush(const options.FlushOptions&, ColumnFamilyHandle*) nogil except+ Status DisableFileDeletions() nogil except+ Status EnableFileDeletions() nogil except+ + Status Close() nogil except+ # TODO: Status GetSortedWalFiles(VectorLogPtr& files) # TODO: SequenceNumber GetLatestSequenceNumber()