Cache: Include inmemory storage in build

Add logging note to storage_rocksdb at the same time.
This commit is contained in:
Johan Wikman
2016-11-29 22:07:45 +02:00
parent 23bb7c4de7
commit efa8713b17
2 changed files with 3 additions and 0 deletions

View File

@ -1 +1,2 @@
add_subdirectory(storage_rocksdb)
add_subdirectory(storage_inmemory)

View File

@ -53,6 +53,8 @@ CACHE_STORAGE* createInstance(cache_thread_model_t, // Ignored, RocksDB always M
try
{
pStorage = reinterpret_cast<CACHE_STORAGE*>(RocksDBStorage::Create(zName, ttl, argc, argv));
MXS_NOTICE("Storage module created.");
}
catch (const std::bad_alloc&)
{