From efa8713b175dfaa7142ccb4c422b739e1c8ee224 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Tue, 29 Nov 2016 22:07:45 +0200 Subject: [PATCH] Cache: Include inmemory storage in build Add logging note to storage_rocksdb at the same time. --- server/modules/filter/cache/storage/CMakeLists.txt | 1 + .../filter/cache/storage/storage_rocksdb/storage_rocksdb.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/server/modules/filter/cache/storage/CMakeLists.txt b/server/modules/filter/cache/storage/CMakeLists.txt index fbf6d7e57..52287a9f9 100644 --- a/server/modules/filter/cache/storage/CMakeLists.txt +++ b/server/modules/filter/cache/storage/CMakeLists.txt @@ -1 +1,2 @@ add_subdirectory(storage_rocksdb) +add_subdirectory(storage_inmemory) diff --git a/server/modules/filter/cache/storage/storage_rocksdb/storage_rocksdb.cc b/server/modules/filter/cache/storage/storage_rocksdb/storage_rocksdb.cc index 4de3d6868..8f68de876 100644 --- a/server/modules/filter/cache/storage/storage_rocksdb/storage_rocksdb.cc +++ b/server/modules/filter/cache/storage/storage_rocksdb/storage_rocksdb.cc @@ -53,6 +53,8 @@ CACHE_STORAGE* createInstance(cache_thread_model_t, // Ignored, RocksDB always M try { pStorage = reinterpret_cast(RocksDBStorage::Create(zName, ttl, argc, argv)); + + MXS_NOTICE("Storage module created."); } catch (const std::bad_alloc&) {