mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
ed1dc769ff
|
@ -4402,14 +4402,6 @@ size_t DistributeBlock::sendToClient (AqlValue val) {
|
||||||
if (val._type == AqlValue::JSON) {
|
if (val._type == AqlValue::JSON) {
|
||||||
json = val._json->json();
|
json = val._json->json();
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
// TODO: if the DistributeBlock is supposed to run on coordinators only, it
|
|
||||||
// cannot have any AqlValues of type SHAPED. These are only present when there
|
|
||||||
// are physical collections
|
|
||||||
else if (val._type == AqlValue::SHAPED) {
|
|
||||||
json = val.toJson(_trx, _collection->documentCollection()).json();
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
else {
|
else {
|
||||||
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_FAILED,
|
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_FAILED,
|
||||||
"DistributeBlock: can only send JSON or SHAPED");
|
"DistributeBlock: can only send JSON or SHAPED");
|
||||||
|
|
Loading…
Reference in New Issue