From a846ec9af5e05fe49c6a621a653c0c50038abd83 Mon Sep 17 00:00:00 2001 From: iFA Date: Fri, 19 Feb 2021 17:36:01 +0100 Subject: [PATCH] Update _rocksdb.pyx --- rocksdb/_rocksdb.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocksdb/_rocksdb.pyx b/rocksdb/_rocksdb.pyx index fb4ea75..6d5be5e 100644 --- a/rocksdb/_rocksdb.pyx +++ b/rocksdb/_rocksdb.pyx @@ -1273,9 +1273,9 @@ cdef class ColumnFamilyOptions(object): property ttl: def __get__(self): - return self.opts.ttl + return self.copts.ttl def __set__(self, value): - self.opts.ttl = value + self.copts.ttl = value cdef class Options(ColumnFamilyOptions): cdef options.Options* opts