mirror of https://gitee.com/bigwinds/arangodb
remove unused objects
This commit is contained in:
parent
ae01d15982
commit
806f65e339
|
@ -74,8 +74,7 @@ Expression::Expression(Ast* ast, AstNode* node)
|
||||||
_isDeterministic(false),
|
_isDeterministic(false),
|
||||||
_hasDeterminedAttributes(false),
|
_hasDeterminedAttributes(false),
|
||||||
_built(false),
|
_built(false),
|
||||||
_attributes(),
|
_attributes() {
|
||||||
_buffer(TRI_UNKNOWN_MEM_ZONE) {
|
|
||||||
TRI_ASSERT(_ast != nullptr);
|
TRI_ASSERT(_ast != nullptr);
|
||||||
TRI_ASSERT(_executor != nullptr);
|
TRI_ASSERT(_executor != nullptr);
|
||||||
TRI_ASSERT(_node != nullptr);
|
TRI_ASSERT(_node != nullptr);
|
||||||
|
|
|
@ -388,9 +388,6 @@ class Expression {
|
||||||
std::unordered_map<Variable const*, std::unordered_set<std::string>>
|
std::unordered_map<Variable const*, std::unordered_set<std::string>>
|
||||||
_attributes;
|
_attributes;
|
||||||
|
|
||||||
/// @brief buffer for temporary strings
|
|
||||||
arangodb::basics::StringBuffer _buffer;
|
|
||||||
|
|
||||||
/// @brief variables only temporarily valid during execution
|
/// @brief variables only temporarily valid during execution
|
||||||
std::unordered_map<Variable const*, arangodb::velocypack::Slice> _variables;
|
std::unordered_map<Variable const*, arangodb::velocypack::Slice> _variables;
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,7 @@ ModificationBlock::ModificationBlock(ExecutionEngine* engine,
|
||||||
_outRegNew(ExecutionNode::MaxRegisterId),
|
_outRegNew(ExecutionNode::MaxRegisterId),
|
||||||
_collection(ep->_collection),
|
_collection(ep->_collection),
|
||||||
_isDBServer(false),
|
_isDBServer(false),
|
||||||
_usesDefaultSharding(true),
|
_usesDefaultSharding(true) {
|
||||||
_buffer(TRI_UNKNOWN_MEM_ZONE) {
|
|
||||||
|
|
||||||
_trx->orderDitch(_collection->cid());
|
_trx->orderDitch(_collection->cid());
|
||||||
|
|
||||||
|
|
|
@ -73,9 +73,6 @@ class ModificationBlock : public ExecutionBlock {
|
||||||
|
|
||||||
/// @brief whether or not the collection uses the default sharding attributes
|
/// @brief whether or not the collection uses the default sharding attributes
|
||||||
bool _usesDefaultSharding;
|
bool _usesDefaultSharding;
|
||||||
|
|
||||||
/// @brief temporary string buffer for extracting system attributes
|
|
||||||
arangodb::basics::StringBuffer _buffer;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class RemoveBlock : public ModificationBlock {
|
class RemoveBlock : public ModificationBlock {
|
||||||
|
|
Loading…
Reference in New Issue