From 914b0620c92789099b3099f44f6907ca7a3c3ea9 Mon Sep 17 00:00:00 2001 From: yuchao Date: Tue, 15 Aug 2023 17:14:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=80=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=8F=92=E5=85=A5=E6=95=B0=E5=AD=97ignore?= =?UTF-8?q?=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/runtime/executor/execQual.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gausskernel/runtime/executor/execQual.cpp b/src/gausskernel/runtime/executor/execQual.cpp index 69a49a6d8..4965f4a03 100644 --- a/src/gausskernel/runtime/executor/execQual.cpp +++ b/src/gausskernel/runtime/executor/execQual.cpp @@ -2732,7 +2732,8 @@ static Datum ExecMakeFunctionResultNoSets( } if (econtext) { - fcinfo->can_ignore = econtext->can_ignore; + fcinfo->can_ignore = econtext->can_ignore || (econtext->ecxt_estate && econtext->ecxt_estate->es_plannedstmt && + econtext->ecxt_estate->es_plannedstmt->hasIgnore); } /*