1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +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

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