Update db.pxd

This commit is contained in:
iFA 2020-09-03 08:51:11 +02:00 committed by GitHub
parent 1d486f7437
commit 7a93495a42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,12 @@
cimport options from . cimport options
from libc.stdint cimport uint64_t, uint32_t 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 cimport bool as cpp_bool
from libcpp.string cimport string from libcpp.string cimport string
from libcpp.vector cimport vector from libcpp.vector cimport vector
from slice_ cimport Slice from .slice_ cimport Slice
from snapshot cimport Snapshot from .snapshot cimport Snapshot
from iterator cimport Iterator from .iterator cimport Iterator
cdef extern from "rocksdb/write_batch.h" namespace "rocksdb": cdef extern from "rocksdb/write_batch.h" namespace "rocksdb":
cdef cppclass WriteBatch: cdef cppclass WriteBatch:
@ -169,6 +169,7 @@ cdef extern from "rocksdb/db.h" namespace "rocksdb":
Status Flush(const options.FlushOptions&, ColumnFamilyHandle*) nogil except+ Status Flush(const options.FlushOptions&, ColumnFamilyHandle*) nogil except+
Status DisableFileDeletions() nogil except+ Status DisableFileDeletions() nogil except+
Status EnableFileDeletions() nogil except+ Status EnableFileDeletions() nogil except+
Status Close() nogil except+
# TODO: Status GetSortedWalFiles(VectorLogPtr& files) # TODO: Status GetSortedWalFiles(VectorLogPtr& files)
# TODO: SequenceNumber GetLatestSequenceNumber() # TODO: SequenceNumber GetLatestSequenceNumber()