1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-01-06 08:21:10 +03:00

MCOL-1558. The load side needs to handle abs paths.

This commit is contained in:
Patrick LeBlanc
2018-11-15 15:49:12 -06:00
parent 86c64d6dc0
commit 69046633d2

View File

@@ -2582,7 +2582,11 @@ pid_t ProcessMonitor::startProcess(string processModuleType, string processName,
oldFile->pread(line, 0, fileSize - 1); // skip the \n
line[fileSize] = '\0'; // not necessary, but be sure.
// MCOL-1558 - the _current file is now relative to DBRMRoot
string dbrmFile = DBRMroot + line;
string dbrmFile;
if (line[0] == '/') // handle absolute paths (saved by an old version)
dbrmFile = line;
else
dbrmFile = DBRMroot + line;
// if ( !gOAMParentModuleFlag ) {