1
0
Fork 0

removed includes

This commit is contained in:
jsteemann 2016-03-17 00:04:03 +01:00
parent 873854a0a0
commit c41f18080b
4 changed files with 0 additions and 18 deletions

View File

@ -29,7 +29,6 @@
#include "Aql/ExecutionNode.h"
#include "Aql/IndexNode.h"
#include "Utils/AqlTransaction.h"
#include "VocBase/shaped-json.h"
struct TRI_doc_mptr_t;

View File

@ -174,21 +174,6 @@ int ModificationBlock::extractKey(AqlValue const& value,
return TRI_ERROR_ARANGO_DOCUMENT_KEY_MISSING;
}
////////////////////////////////////////////////////////////////////////////////
/// @brief check whether the _key attribute is specified when it must not be
/// specified
////////////////////////////////////////////////////////////////////////////////
bool ModificationBlock::isShardKeyError(TRI_json_t const* json) const {
TRI_ASSERT(_isDBServer);
if (_usesDefaultSharding) {
return false;
}
return (TRI_LookupObjectJson(json, TRI_VOC_ATTRIBUTE_KEY) != nullptr);
}
////////////////////////////////////////////////////////////////////////////////
/// @brief process the result of a data-modification operation
////////////////////////////////////////////////////////////////////////////////

View File

@ -29,7 +29,6 @@
#include "Aql/ExecutionNode.h"
#include "Aql/ModificationNodes.h"
#include "Utils/AqlTransaction.h"
#include "VocBase/shaped-json.h"
struct TRI_df_marker_t;
struct TRI_doc_mptr_t;

View File

@ -34,7 +34,6 @@
#include "VocBase/Ditch.h"
#include "VocBase/MasterPointer.h"
#include "VocBase/MasterPointers.h"
#include "VocBase/shaped-json.h"
#include "VocBase/voc-types.h"
#include "Wal/Marker.h"