From 862963ef73ee580aa84951e7b515a31d6708dcf4 Mon Sep 17 00:00:00 2001 From: Yuya Watari Date: Fri, 29 Nov 2024 14:49:42 +0900 Subject: [PATCH v28 6/7] Don't use likely in find_relids_top_parents --- src/include/optimizer/pathnode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index 5e79cf1f63b..cf21ba29fe9 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -346,7 +346,7 @@ extern Relids find_childrel_parents(PlannerInfo *root, RelOptInfo *rel); * root->top_parent_relid_array is NULL. */ #define find_relids_top_parents(root, relids) \ - (likely((root)->top_parent_relid_array == NULL) \ + ((root)->top_parent_relid_array == NULL \ ? NULL : find_relids_top_parents_slow(root, relids)) extern Relids find_relids_top_parents_slow(PlannerInfo *root, Relids relids); -- 2.45.2.windows.1