1
0
Fork 0

Fixed a status return in replication handler.

This commit is contained in:
Dan Larkin 2017-04-21 13:12:19 -04:00
parent 734921f003
commit d7f56172fd
1 changed files with 3 additions and 1 deletions

View File

@ -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();