mirror of https://gitee.com/bigwinds/arangodb
Just comment fixes
This commit is contained in:
parent
d0244b3d60
commit
a7965945d9
|
@ -101,7 +101,7 @@ void CollectionKeys::create(TRI_voc_tick_t maxTick) {
|
|||
|
||||
_vpack.reserve(16384);
|
||||
|
||||
// copy all datafile markers into the result under the read-lock
|
||||
// copy all document tokens into the result under the read-lock
|
||||
{
|
||||
SingleCollectionTransaction trx(
|
||||
transaction::StandaloneContext::Create(_collection->vocbase()), _name,
|
||||
|
@ -125,7 +125,7 @@ void CollectionKeys::create(TRI_voc_tick_t maxTick) {
|
|||
trx.finish(res);
|
||||
}
|
||||
|
||||
// now sort all markers without the read-lock
|
||||
// now sort all document tokens without the read-lock
|
||||
std::sort(_vpack.begin(), _vpack.end(),
|
||||
[](uint8_t const* lhs, uint8_t const* rhs) -> bool {
|
||||
return (StringRef(transaction::helpers::extractKeyFromDocument(VPackSlice(lhs))) < StringRef(transaction::helpers::extractKeyFromDocument(VPackSlice(rhs))));
|
||||
|
|
|
@ -1351,7 +1351,6 @@ static void JS_PropertiesVocbaseCol(
|
|||
arangodb::Result res2 = physical->persistProperties();
|
||||
// TODO Review
|
||||
// TODO API compatibility, for now we ignore if persisting fails...
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1050,7 +1050,6 @@ int LogicalCollection::remove(transaction::Methods* trx,
|
|||
ManagedDocumentResult& previous) {
|
||||
resultMarkerTick = 0;
|
||||
|
||||
// create remove marker
|
||||
TRI_voc_rid_t revisionId = 0;
|
||||
if (options.isRestore) {
|
||||
VPackSlice oldRev = TRI_ExtractRevisionIdAsSlice(slice);
|
||||
|
|
Loading…
Reference in New Issue