1
0
Fork 0

A MMFiles collection now reads a path if created from a slice.

This commit is contained in:
Michael Hackstein 2017-03-06 16:06:23 +01:00
parent d4dd243946
commit 42e14c59f4
1 changed files with 4 additions and 0 deletions

View File

@ -443,6 +443,10 @@ MMFilesCollection::MMFilesCollection(LogicalCollection* collection,
"<properties>.journalSize too small");
}
auto pathSlice = info.get("path");
if (pathSlice.isString()) {
_path = pathSlice.copyString();
}
setCompactionStatus("compaction not yet started");
}