Skip to content
Snippets Groups Projects
Commit 7531d2fd authored by Tom Lane's avatar Tom Lane
Browse files

Add missing Assert to make TransactionIdDidAbort more consistent with

TransactionIdDidCommit.
parent d77f74fa
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/transam/transam.c,v 1.58 2004/08/22 02:41:57 tgl Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/transam.c,v 1.59 2004/08/28 21:58:59 tgl Exp $
*
* NOTES
* This file contains the high level access-method interface to the
......@@ -258,6 +258,7 @@ TransactionIdDidAbort(TransactionId transactionId)
if (TransactionIdPrecedes(transactionId, RecentXmin))
return true;
parentXid = SubTransGetParent(transactionId);
Assert(TransactionIdIsValid(parentXid));
return TransactionIdDidAbort(parentXid);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment