mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
5600a2bb22
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue