From 36b94c8a094d50ecc4116cc2edf351ba4e1363e5 Mon Sep 17 00:00:00 2001 From: vastdata-xyzr Date: Thu, 25 May 2023 21:43:43 -0400 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dquery=5Fdop>1=E6=97=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=96=E9=83=A8=E8=A1=A8=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E5=AE=95=E6=9C=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/optimizer/plan/createplan.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gausskernel/optimizer/plan/createplan.cpp b/src/gausskernel/optimizer/plan/createplan.cpp index 932a85b25..23e3c46ba 100755 --- a/src/gausskernel/optimizer/plan/createplan.cpp +++ b/src/gausskernel/optimizer/plan/createplan.cpp @@ -8719,20 +8719,16 @@ uint32 getDistSessionKey(List* fdw_private) uint32 distSessionKey = 0; foreach (lc, fdw_private) { -#ifdef ENABLE_MOT /* - * MOT FDW may put a node of any type into the list, so if we are looking for + * FDW may put a node of any type into the list, so if we are looking for * some specific type, we need to first make sure that it's the correct type. */ Node* node = (Node*)lfirst(lc); if (IsA(node, DefElem)) { -#endif DefElem* defElem = (DefElem*)lfirst(lc); if (strcmp("session_key", defElem->defname) == 0) distSessionKey = intVal(defElem->arg); -#ifdef ENABLE_MOT } -#endif } return distSessionKey;