diff options
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r-- | src/backend/access/transam/xact.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index fd5103a78e2..6cb7dab124a 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -3250,7 +3250,7 @@ CommitTransactionCommand(void) s->savepointLevel = savepointLevel; /* This is the same as TBLOCK_SUBBEGIN case */ - AssertState(s->blockState == TBLOCK_SUBBEGIN); + Assert(s->blockState == TBLOCK_SUBBEGIN); StartSubTransaction(); s->blockState = TBLOCK_SUBINPROGRESS; } @@ -3278,7 +3278,7 @@ CommitTransactionCommand(void) s->savepointLevel = savepointLevel; /* This is the same as TBLOCK_SUBBEGIN case */ - AssertState(s->blockState == TBLOCK_SUBBEGIN); + Assert(s->blockState == TBLOCK_SUBBEGIN); StartSubTransaction(); s->blockState = TBLOCK_SUBINPROGRESS; } @@ -4667,7 +4667,7 @@ RollbackAndReleaseCurrentSubTransaction(void) CleanupSubTransaction(); s = CurrentTransactionState; /* changed by pop */ - AssertState(s->blockState == TBLOCK_SUBINPROGRESS || + Assert(s->blockState == TBLOCK_SUBINPROGRESS || s->blockState == TBLOCK_INPROGRESS || s->blockState == TBLOCK_IMPLICIT_INPROGRESS || s->blockState == TBLOCK_STARTED); |