mirror of https://gitee.com/bigwinds/arangodb
removed includes
This commit is contained in:
parent
873854a0a0
commit
c41f18080b
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue