Fix style

This commit is contained in:
alesapin 2022-06-02 18:51:41 +02:00
parent c1b0769c6d
commit 111bde0436

View File

@ -390,7 +390,7 @@ void MetadataStorageFromDiskTransaction::commit()
}
catch (Exception & ex)
{
ex.addMessage(fmt::format("While commiting operation #{}", i));
ex.addMessage(fmt::format("While committing operation #{}", i));
failed_operation_index = i;
state = MetadataFromDiskTransactionState::FAILED;
throw;
@ -437,7 +437,7 @@ void MetadataStorageFromDiskTransaction::rollback()
}
else
{
/// Nothing to do, transaction commited or not even started to commit
/// Nothing to do, transaction committed or not even started to commit
}
state = MetadataFromDiskTransactionState::ROLLED_BACK;