mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
This commit is contained in:
commit
7618d03a10
|
@ -424,12 +424,14 @@ void RestAqlHandler::useQuery (std::string const& operation,
|
||||||
|
|
||||||
try {
|
try {
|
||||||
handleUseQuery(operation, query, queryJson);
|
handleUseQuery(operation, query, queryJson);
|
||||||
try {
|
if (_qId != 0) {
|
||||||
_queryRegistry->close(_vocbase, _qId);
|
try {
|
||||||
}
|
_queryRegistry->close(_vocbase, _qId);
|
||||||
catch (...) {
|
}
|
||||||
// ignore errors on unregistering
|
catch (...) {
|
||||||
// an error might occur if "shutdown" is called
|
// ignore errors on unregistering
|
||||||
|
// an error might occur if "shutdown" is called
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (triagens::arango::Exception const& ex) {
|
catch (triagens::arango::Exception const& ex) {
|
||||||
|
@ -853,6 +855,7 @@ void RestAqlHandler::handleUseQuery (std::string const& operation,
|
||||||
|
|
||||||
// delete the query from the registry
|
// delete the query from the registry
|
||||||
_queryRegistry->destroy(_vocbase, _qId, errorCode);
|
_queryRegistry->destroy(_vocbase, _qId, errorCode);
|
||||||
|
_qId = 0;
|
||||||
}
|
}
|
||||||
catch (...) {
|
catch (...) {
|
||||||
LOG_ERROR("shutdown lead to an exception");
|
LOG_ERROR("shutdown lead to an exception");
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -77,6 +77,7 @@
|
||||||
<% if(isSystem) { %>
|
<% if(isSystem) { %>
|
||||||
|
|
||||||
<option value="#logs">Logs</option>
|
<option value="#logs">Logs</option>
|
||||||
|
<option value="#databases">Databases</option>
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue