mirror of https://gitee.com/bigwinds/arangodb
A MMFiles collection now reads a path if created from a slice.
This commit is contained in:
parent
d4dd243946
commit
42e14c59f4
|
@ -443,6 +443,10 @@ MMFilesCollection::MMFilesCollection(LogicalCollection* collection,
|
||||||
"<properties>.journalSize too small");
|
"<properties>.journalSize too small");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto pathSlice = info.get("path");
|
||||||
|
if (pathSlice.isString()) {
|
||||||
|
_path = pathSlice.copyString();
|
||||||
|
}
|
||||||
setCompactionStatus("compaction not yet started");
|
setCompactionStatus("compaction not yet started");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue