1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-05 15:41:14 +03:00
This commit is contained in:
David Hill
2018-09-25 14:03:00 -05:00
parent 8754476272
commit 5fa5c81b67
3 changed files with 10 additions and 13 deletions

View File

@ -1370,14 +1370,11 @@ void cleanTempDir()
{
config::Config* config = config::Config::makeConfig();
string allowDJS = config->getConfig("HashJoin", "AllowDiskBasedJoin");
string tmpPrefix = config->getConfig("HashJoin", "TempFilePath");
string tmpPrefix = startup::StartUp::tmpDir();
if (allowDJS == "N" || allowDJS == "n")
return;
if (tmpPrefix.empty())
tmpPrefix = "/tmp/infinidb";
tmpPrefix += "/";
assert(tmpPrefix != "/");