Update _rocksdb.pyx

This commit is contained in:
iFA 2021-02-19 17:36:01 +01:00 committed by GitHub
parent 5afbf3cb73
commit a846ec9af5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1273,9 +1273,9 @@ cdef class ColumnFamilyOptions(object):
property ttl: property ttl:
def __get__(self): def __get__(self):
return self.opts.ttl return self.copts.ttl
def __set__(self, value): def __set__(self, value):
self.opts.ttl = value self.copts.ttl = value
cdef class Options(ColumnFamilyOptions): cdef class Options(ColumnFamilyOptions):
cdef options.Options* opts cdef options.Options* opts