10000 A MMFiles collection now reads a path if created from a slice. · georgekaf/arangodb@42e14c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42e14c5

Browse files
committed
A MMFiles collection now reads a path if created from a slice.
1 parent d4dd243 commit 42e14c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arangod/MMFiles/MMFilesCollection.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,10 @@ MMFilesCollection::MMFilesCollection(LogicalCollection* collection,
443443
"<properties>.journalSize too small");
444444
}
445445

446+
auto pathSlice = info.get("path");
447+
if (pathSlice.isString()) {
448+
_path = pathSlice.copyString();
449+
}
446450
setCompactionStatus("compaction not yet started");
447451
}
448452

0 commit comments

Comments
 (0)
0