Cache: Include inmemory storage in build
Add logging note to storage_rocksdb at the same time.
This commit is contained in:
@ -1 +1,2 @@
|
|||||||
add_subdirectory(storage_rocksdb)
|
add_subdirectory(storage_rocksdb)
|
||||||
|
add_subdirectory(storage_inmemory)
|
||||||
|
@ -53,6 +53,8 @@ CACHE_STORAGE* createInstance(cache_thread_model_t, // Ignored, RocksDB always M
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
pStorage = reinterpret_cast<CACHE_STORAGE*>(RocksDBStorage::Create(zName, ttl, argc, argv));
|
pStorage = reinterpret_cast<CACHE_STORAGE*>(RocksDBStorage::Create(zName, ttl, argc, argv));
|
||||||
|
|
||||||
|
MXS_NOTICE("Storage module created.");
|
||||||
}
|
}
|
||||||
catch (const std::bad_alloc&)
|
catch (const std::bad_alloc&)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user