From 231f68b6dc70804b785df356679601ab3eb8e379 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 13 Nov 2019 15:10:56 +0200 Subject: [PATCH] MXS-2727 Load storage from build-time location Otherwise it might not be found. --- server/modules/filter/cache/test/cache_bugs.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/modules/filter/cache/test/cache_bugs.cc b/server/modules/filter/cache/test/cache_bugs.cc index 565f2b07c..9f7ce8088 100644 --- a/server/modules/filter/cache/test/cache_bugs.cc +++ b/server/modules/filter/cache/test/cache_bugs.cc @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "../cachemt.hh" @@ -56,7 +57,9 @@ int mxs_2727() config.thread_model = CACHE_THREAD_MODEL_MT; config.enabled = true; + set_libdir(const_cast("../storage/storage_inmemory")); auto* pCache = CacheMT::Create("MXS-2727", &config); + mxb_assert(pCache); CACHE_KEY key; GWBUF* pSelect = create_gwbuf("SELECT * FROM t");