mirror of https://gitee.com/bigwinds/arangodb
code simplification
This commit is contained in:
parent
0d8bf44215
commit
ea0a5fa1d6
|
@ -220,21 +220,14 @@ static bool BytecodeShapeAccessor (TRI_shaper_t* shaper, TRI_shape_access_t* acc
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_TRACE("unknown attribute id '%ld'", (unsigned long) *paids);
|
LOG_TRACE("unknown attribute id '%ld'", (unsigned long) *paids);
|
||||||
|
|
||||||
TRI_DestroyVectorPointer(&ops);
|
|
||||||
|
|
||||||
accessor->_resultSid = TRI_SHAPE_ILLEGAL;
|
|
||||||
accessor->_code = nullptr;
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
TRI_DestroyVectorPointer(&ops);
|
|
||||||
|
|
||||||
accessor->_resultSid = TRI_SHAPE_ILLEGAL;
|
TRI_DestroyVectorPointer(&ops);
|
||||||
accessor->_code = nullptr;
|
|
||||||
|
|
||||||
return true;
|
accessor->_resultSid = TRI_SHAPE_ILLEGAL;
|
||||||
}
|
accessor->_code = nullptr;
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// travel attribute path to the end
|
// travel attribute path to the end
|
||||||
|
|
Loading…
Reference in New Issue