1
0
Fork 0

remove unused objects

This commit is contained in:
jsteemann 2016-05-14 00:10:06 +02:00
parent ae01d15982
commit 806f65e339
4 changed files with 2 additions and 10 deletions

View File

@ -74,8 +74,7 @@ Expression::Expression(Ast* ast, AstNode* node)
_isDeterministic(false),
_hasDeterminedAttributes(false),
_built(false),
_attributes(),
_buffer(TRI_UNKNOWN_MEM_ZONE) {
_attributes() {
TRI_ASSERT(_ast != nullptr);
TRI_ASSERT(_executor != nullptr);
TRI_ASSERT(_node != nullptr);

View File

@ -388,9 +388,6 @@ class Expression {
std::unordered_map<Variable const*, std::unordered_set<std::string>>
_attributes;
/// @brief buffer for temporary strings
arangodb::basics::StringBuffer _buffer;
/// @brief variables only temporarily valid during execution
std::unordered_map<Variable const*, arangodb::velocypack::Slice> _variables;

View File

@ -43,8 +43,7 @@ ModificationBlock::ModificationBlock(ExecutionEngine* engine,
_outRegNew(ExecutionNode::MaxRegisterId),
_collection(ep->_collection),
_isDBServer(false),
_usesDefaultSharding(true),
_buffer(TRI_UNKNOWN_MEM_ZONE) {
_usesDefaultSharding(true) {
_trx->orderDitch(_collection->cid());

View File

@ -73,9 +73,6 @@ class ModificationBlock : public ExecutionBlock {
/// @brief whether or not the collection uses the default sharding attributes
bool _usesDefaultSharding;
/// @brief temporary string buffer for extracting system attributes
arangodb::basics::StringBuffer _buffer;
};
class RemoveBlock : public ModificationBlock {