1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-1558. This likely covers it. First cut.

This commit is contained in:
Patrick LeBlanc
2018-11-15 15:33:50 -06:00
parent 65779c7d83
commit 86c64d6dc0
3 changed files with 16 additions and 9 deletions

View File

@ -100,7 +100,9 @@ int main (int argc, char** argv)
#ifndef _MSC_VER
prefix += '\n';
#endif
currentFile->write(prefix.c_str(), prefix.length());
// for MCOL-1558. Make the _current file relative to DBRMRoot
string relative = prefix.substr(prefix.find_last_of('/'));
currentFile->write(relative.c_str(), relative.length());
}
catch (exception& e)
{