From 3cbfd3f1d035b2ce82db4285ba42f5948053f8c1 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Mon, 12 Dec 2016 14:21:31 +0200 Subject: [PATCH] Cache: Create MT storage if that is asked for --- .../filter/cache/storage/storage_inmemory/storage_inmemory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/storage/storage_inmemory/storage_inmemory.cc b/server/modules/filter/cache/storage/storage_inmemory/storage_inmemory.cc index 5976e8e09..21602324b 100644 --- a/server/modules/filter/cache/storage/storage_inmemory/storage_inmemory.cc +++ b/server/modules/filter/cache/storage/storage_inmemory/storage_inmemory.cc @@ -64,7 +64,7 @@ CACHE_STORAGE* createInstance(cache_thread_model_t model, ss_dassert(!true); MXS_ERROR("Unknown thread model %d, creating multi-thread aware storage.", (int)model); case CACHE_THREAD_MODEL_MT: - MXS_EXCEPTION_GUARD(sStorage = InMemoryStorageST::create(zname, ttl, argc, argv)); + MXS_EXCEPTION_GUARD(sStorage = InMemoryStorageMT::create(zname, ttl, argc, argv)); break; }