0001-use-proper-macros-to-access-xid.patch
application/octet-stream
Filename: 0001-use-proper-macros-to-access-xid.patch
Type: application/octet-stream
Part: 0
Message:
RE: list of TransactionIds
Patch
Format: format-patch
Series: patch 0001
Subject: use proper macros to access xid
| File | + | − |
|---|---|---|
| src/backend/nodes/list.c | 1 | 1 |
From 2bedb40feede7713c6da37f55e75797622880204 Mon Sep 17 00:00:00 2001
From: "Hou Zhijie" <houzj.fnst@cn.fujitsu.com>
Date: Thu, 20 Oct 2022 14:00:10 +0800
Subject: [PATCH] use proper macros to access xid
---
src/backend/nodes/list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/nodes/list.c b/src/backend/nodes/list.c
index b969a52..67f6e6d 100644
--- a/src/backend/nodes/list.c
+++ b/src/backend/nodes/list.c
@@ -747,7 +747,7 @@ list_member_xid(const List *list, TransactionId datum)
foreach(cell, list)
{
- if (lfirst_oid(cell) == datum)
+ if (lfirst_xid(cell) == datum)
return true;
}
--
2.7.2.windows.1