From 3358119f22c1c2a15ec1be9fb5918ee1cb39110d Mon Sep 17 00:00:00 2001 From: hofmockel Date: Wed, 22 Oct 2014 09:31:46 +0200 Subject: [PATCH] Remove deprecated options. --- rocksdb/_rocksdb.pyx | 12 ------------ rocksdb/options.pxd | 2 -- 2 files changed, 14 deletions(-) diff --git a/rocksdb/_rocksdb.pyx b/rocksdb/_rocksdb.pyx index 2f391b8..147ff3e 100644 --- a/rocksdb/_rocksdb.pyx +++ b/rocksdb/_rocksdb.pyx @@ -874,12 +874,6 @@ cdef class Options(object): def __set__(self, value): self.opts.use_fsync = value - property db_stats_log_interval: - def __get__(self): - return self.opts.db_stats_log_interval - def __set__(self, value): - self.opts.db_stats_log_interval = value - property db_log_dir: def __get__(self): return string_to_path(self.opts.db_log_dir) @@ -892,12 +886,6 @@ cdef class Options(object): def __set__(self, value): self.opts.wal_dir = path_to_string(value) - property disable_seek_compaction: - def __get__(self): - return self.opts.disable_seek_compaction - def __set__(self, value): - self.opts.disable_seek_compaction = value - property delete_obsolete_files_period_micros: def __get__(self): return self.opts.delete_obsolete_files_period_micros diff --git a/rocksdb/options.pxd b/rocksdb/options.pxd index 0c874dc..fd683bb 100644 --- a/rocksdb/options.pxd +++ b/rocksdb/options.pxd @@ -70,10 +70,8 @@ cdef extern from "rocksdb/options.h" namespace "rocksdb": # TODO: statistics cpp_bool disableDataSync cpp_bool use_fsync - int db_stats_log_interval string db_log_dir string wal_dir - cpp_bool disable_seek_compaction uint64_t delete_obsolete_files_period_micros int max_background_compactions int max_background_flushes