From 26026e958d4f33d233c957bf01367d07abb1777b Mon Sep 17 00:00:00 2001 From: lukeman Date: Fri, 25 Oct 2024 11:18:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86issue:=E5=BC=80=E5=90=AFM*?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E5=85=BC=E5=AE=B9=E5=90=8E=EF=BC=8C=E4=BD=BF?= =?UTF-8?q?=E7=94=A8jdbc=E8=BF=9E=E6=8E=A5=E5=8F=82=E6=95=B0useOldAliasMet?= =?UTF-8?q?adataBehavior=3Dfalse=EF=BC=8C=E6=9F=A5=E8=AF=A2=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=E6=9F=A5=E8=AF=A2=E7=BB=93=E6=9E=9C=E5=88=AB=E5=90=8D?= =?UTF-8?q?=E4=B8=8EM*=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/runtime/executor/execMain.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gausskernel/runtime/executor/execMain.cpp b/src/gausskernel/runtime/executor/execMain.cpp index 08ef4819c..257265928 100755 --- a/src/gausskernel/runtime/executor/execMain.cpp +++ b/src/gausskernel/runtime/executor/execMain.cpp @@ -637,8 +637,12 @@ void standard_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, long co * In order to ensure the integrity of the message(T-C-Z), regardless of the value of * u_sess->exec_cxt.executor_stop_flag, the 'T' message should be sent. */ - if (send_tuples) + if (send_tuples) { + if ((dest->mydest == DestRemote || dest->mydest == DestRemoteExecute)) { + ((DR_printtup *)dest)->target_list = queryDesc->plannedstmt->planTree->targetlist; + } (*dest->rStartup)(dest, operation, queryDesc->tupDesc); + } if (queryDesc->plannedstmt->bucketMap[0] != NULL) { u_sess->exec_cxt.global_bucket_map = queryDesc->plannedstmt->bucketMap[0];