1
0
Fork 0

remove some unused parts (#5746)

This commit is contained in:
Jan 2018-07-03 13:58:00 +02:00 committed by GitHub
parent 545561e9a9
commit 0f05934a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 17 deletions

View File

@ -230,12 +230,10 @@ VPackBuilder ClusterEngine::getReplicationApplierConfiguration(
int& status
) {
THROW_ARANGO_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
return VPackBuilder();
}
VPackBuilder ClusterEngine::getReplicationApplierConfiguration(int& status) {
THROW_ARANGO_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
return VPackBuilder();
}
// database, collection and index management

View File

@ -91,12 +91,8 @@ static void JS_WaitCollectorWal(
TRI_V8_TRY_CATCH_BEGIN(isolate);
v8::HandleScope scope(isolate);
if (ServerState::instance()->isCoordinator()) {
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
}
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
// this is just a stub
TRI_V8_RETURN_TRUE();
TRI_V8_TRY_CATCH_END
}
@ -106,12 +102,8 @@ static void JS_TransactionsWal(
TRI_V8_TRY_CATCH_BEGIN(isolate);
v8::HandleScope scope(isolate);
if (ServerState::instance()->isCoordinator()) {
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
}
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
// this is just a stub
TRI_V8_RETURN_TRUE();
TRI_V8_TRY_CATCH_END
}
@ -120,12 +112,8 @@ static void JS_PropertiesWal(v8::FunctionCallbackInfo<v8::Value> const& args) {
TRI_V8_TRY_CATCH_BEGIN(isolate);
v8::HandleScope scope(isolate);
if (ServerState::instance()->isCoordinator()) {
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
}
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
// this is just a stub
TRI_V8_RETURN_TRUE();
TRI_V8_TRY_CATCH_END
}