Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ internal OletxTransaction? PromotedTransaction
}

// If there was an exception that happened during promotion save that exception so that it
// can be used as an inner exception to the transaciton aborted exception.
// can be used as an inner exception to the transaction aborted exception.
internal Exception? _innerException;

// Note the number of Transaction objects supported by this object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ internal void Rollback()
throw TransactionException.Create(SR.TransactionAlreadyOver, null, DistributedTxId);
}

// If the transaciton is already aborted, we can get out now. Calling Rollback on an already aborted transaction
// If the transaction is already aborted, we can get out now. Calling Rollback on an already aborted transaction
// is legal.
if (TransactionStatus.Aborted == Status)
{
Expand Down Expand Up @@ -1053,7 +1053,7 @@ internal void Rollback()
}
catch (COMException comException)
{
// If the ErrorCode is XACT_E_ALREADYINPROGRESS and the transaciton is already doomed, we must be
// If the ErrorCode is XACT_E_ALREADYINPROGRESS and the transaction is already doomed, we must be
// the root transaction and we have already called Commit - ignore the exception. The
// Rollback is allowed and one of the enlistments that hasn't voted yet will make sure it is
// aborted.
Expand Down Expand Up @@ -1128,7 +1128,7 @@ internal void FireOutcome(TransactionStatus statusArg)
}

#pragma warning disable IDE0031 // Null check can be simplified
// Let the InternalTransaciton know about the outcome.
// Let the InternalTransaction know about the outcome.
if (InternalTransaction != null)
{
InternalTransaction.DistributedTransactionOutcome(InternalTransaction, Status);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ internal void Rollback()
}

// There is a small race where Rollback could be called when the enlistment is already
// aborting the transaciton, so just ignore that call. When the app enlistment
// aborting the transaction, so just ignore that call. When the app enlistment
// finishes responding to its Rollback notification with EnlistmentDone, things will get
// cleaned up.
break;
Expand Down
Loading