1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
Jan Steemann 2014-10-27 13:30:50 +01:00
commit ed1dc769ff
1 changed files with 0 additions and 8 deletions

View File

@ -4402,14 +4402,6 @@ size_t DistributeBlock::sendToClient (AqlValue val) {
if (val._type == AqlValue::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 {
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_FAILED,
"DistributeBlock: can only send JSON or SHAPED");