1
0
Fork 0

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

This commit is contained in:
Max Neunhoeffer 2014-10-17 15:34:10 +02:00
commit 5600a2bb22
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ void RestAqlHandler::handleUseQuery (std::string const& operation,
"initializeCursor lead to an exception");
return;
}
answerBody("error", Json(res == TRI_ERROR_NO_ERROR))
answerBody("error", Json(res != TRI_ERROR_NO_ERROR))
("code", Json(static_cast<double>(res)));
}
else if (operation == "shutdown") {