]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/kv/KeyValueDB.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / kv / KeyValueDB.cc
index f050040c1562263577c01bc0e828e6fbb52c0366..c42968bbe184ab713092edc05a064f528b797fcf 100644 (file)
@@ -2,9 +2,6 @@
 // vim: ts=8 sw=2 smarttab
 
 #include "KeyValueDB.h"
-#ifdef WITH_LEVELDB
-#include "LevelDBStore.h"
-#endif
 #include "MemDB.h"
 #include "RocksDBStore.h"
 
@@ -16,11 +13,6 @@ KeyValueDB *KeyValueDB::create(CephContext *cct, const string& type,
                               map<string,string> options,
                               void *p)
 {
-#ifdef WITH_LEVELDB
-  if (type == "leveldb") {
-    return new LevelDBStore(cct, dir);
-  }
-#endif
   if (type == "rocksdb") {
     return new RocksDBStore(cct, dir, options, p);
   }
@@ -33,11 +25,6 @@ KeyValueDB *KeyValueDB::create(CephContext *cct, const string& type,
 
 int KeyValueDB::test_init(const string& type, const string& dir)
 {
-#ifdef WITH_LEVELDB
-  if (type == "leveldb") {
-    return LevelDBStore::_test_init(dir);
-  }
-#endif
   if (type == "rocksdb") {
     return RocksDBStore::_test_init(dir);
   }