ceph/0014-src-kv-LevelDBStore.cc.patch
Kaleb S. KEITHLEY 13c95af02e Rebuild for leveldb-1.23
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2021-08-03 13:08:40 -04:00

34 lines
812 B
Diff

*** ceph-16.2.5/src/kv/LevelDBStore.cc.orig 2021-08-03 10:24:53.176567077 -0400
--- ceph-16.2.5/src/kv/LevelDBStore.cc 2021-08-03 11:04:49.123548110 -0400
***************
*** 27,39 ****
using ceph::bufferlist;
using ceph::bufferptr;
class CephLevelDBLogger : public leveldb::Logger {
CephContext *cct;
public:
explicit CephLevelDBLogger(CephContext *c) : cct(c) {
cct->get();
}
! ~CephLevelDBLogger() override {
cct->put();
}
--- 27,41 ----
using ceph::bufferlist;
using ceph::bufferptr;
+ leveldb::Logger::~Logger() {}
+
class CephLevelDBLogger : public leveldb::Logger {
CephContext *cct;
public:
explicit CephLevelDBLogger(CephContext *c) : cct(c) {
cct->get();
}
! virtual ~CephLevelDBLogger() override {
cct->put();
}