From 7c2e8463abc202f43d55214c1dac5bb1632e99b9 Mon Sep 17 00:00:00 2001 From: chendong76 <1209756284@qq.com> Date: Mon, 14 Mar 2022 10:38:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3bucketMap=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E4=B8=8ENULL=E5=88=A4=E6=96=AD=E6=B0=B8=E8=BF=9C=E4=B8=BAfalse?= =?UTF-8?q?=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/execMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gausskernel/runtime/executor/execMain.cpp b/src/gausskernel/runtime/executor/execMain.cpp index 74c9d4ce1..cf58f8fdd 100755 --- a/src/gausskernel/runtime/executor/execMain.cpp +++ b/src/gausskernel/runtime/executor/execMain.cpp @@ -588,7 +588,7 @@ void standard_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, long co if (send_tuples) (*dest->rStartup)(dest, operation, queryDesc->tupDesc); - if (queryDesc->plannedstmt->bucketMap != NULL) { + if (queryDesc->plannedstmt->bucketMap[0] != NULL) { u_sess->exec_cxt.global_bucket_map = queryDesc->plannedstmt->bucketMap[0]; u_sess->exec_cxt.global_bucket_cnt = queryDesc->plannedstmt->bucketCnt[0]; } else {