1
0
Fork 0

DBG: Temporary hack to check #551

This commit is contained in:
Nukem 2016-02-19 10:00:56 -05:00
parent 4626351c6a
commit 2c006cdeff
1 changed files with 4 additions and 2 deletions

View File

@ -83,8 +83,10 @@ void DbSave(DbLoadSaveType saveType)
if(!settingboolget("Engine", "DisableDatabaseCompression"))
LZ4_compress_fileW(wdbpath.c_str(), wdbpath.c_str());
}
else //remove database when nothing is in there
DeleteFileW(wdbpath.c_str());
// TODO: Remove if this is the cause of bug #551
//else //remove database when nothing is in there
// DeleteFileW(wdbpath.c_str());
dprintf("%ums\n", GetTickCount() - ticks);
json_decref(root); //free root
}