1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-12 11:01:17 +03:00

Added to the unit test

Effectively this is just a test of Config, to make sure it's
doing envvar substitutions & number suffix expansions right.
This commit is contained in:
Patrick LeBlanc
2019-02-21 16:27:22 -06:00
parent 402a49c27a
commit 2619aa8983
2 changed files with 15 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ Cache::Cache()
syslog(LOG_CRIT, "Cache/cache_size is not a number");
throw runtime_error("Please set Cache/cache_size to a number");
}
cout << "Cache got cache size " << maxCacheSize << endl;
prefix = conf->getValue("Cache", "path");
if (prefix.empty())
@@ -46,6 +47,8 @@ Cache::Cache()
syslog(LOG_CRIT, "Failed to create %s, got: %s", prefix.string().c_str(), e.what());
throw e;
}
cout << "Cache got prefix " << prefix << endl;
}
Cache::~Cache()