1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

MCOL-1558. Got it working.

Fixed a couple off-by-one type errors constructing the new paths.
This commit is contained in:
Patrick LeBlanc
2018-11-15 16:50:45 -06:00
parent 69046633d2
commit 5559674208
2 changed files with 2 additions and 2 deletions

View File

@@ -2586,7 +2586,7 @@ pid_t ProcessMonitor::startProcess(string processModuleType, string processName,
if (line[0] == '/') // handle absolute paths (saved by an old version)
dbrmFile = line;
else
dbrmFile = DBRMroot + line;
dbrmFile = DBRMroot.substr(0, DBRMroot.find_last_of('/') + 1) + line;
// if ( !gOAMParentModuleFlag ) {