1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00
This commit is contained in:
David Hill
2018-09-21 14:44:12 -05:00
parent 81e35e35eb
commit 72f514ca54
10 changed files with 138 additions and 74 deletions

View File

@ -54,6 +54,9 @@ using namespace messageqcpp;
using namespace BRM;
#include "installdir.h"
namespace execplan
{
@ -102,8 +105,12 @@ SessionMonitor::SessionMonitor()
if (stmp != "")
fSegmentFilename = strdup(stmp.c_str());
else
fSegmentFilename = strdup("/tmp/CalpontSessionMonitorShm");
{
string tmpdir = startup::StartUp::installDir() + "CalpontSessionMonitorShm";
fSegmentFilename = strdup(tmpdir);
}
try
{
madeSems = getSems();