forked from huawei/openGauss-server
!1585 解决bucketMap数组与NULL判断永远为false的问题
Merge pull request !1585 from 陈栋/issue1
This commit is contained in:
commit
9c8611ff49
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue