mirror of https://gitee.com/bigwinds/arangodb
Fixed a status return in replication handler.
This commit is contained in:
parent
734921f003
commit
d7f56172fd
|
@ -2003,7 +2003,9 @@ int RocksDBRestReplicationHandler::processRestoreData(
|
|||
return res.errorNumber();
|
||||
}
|
||||
|
||||
res = processRestoreDataBatch(trx, colName, useRevision, force, errorMsg);
|
||||
int resCode =
|
||||
processRestoreDataBatch(trx, colName, useRevision, force, errorMsg);
|
||||
res.reset(resCode, errorMsg);
|
||||
res = trx.finish(res);
|
||||
|
||||
return res.errorNumber();
|
||||
|
|
Loading…
Reference in New Issue