hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject incubator-hawq git commit: HAWQ-346. Fixed assertion failure when dispatching EXPLAIN ANALYZE with window function in optimizer off mode
Date Fri, 15 Jan 2016 07:57:45 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 3189e0760 -> 875067d63


HAWQ-346. Fixed assertion failure when dispatching EXPLAIN ANALYZE with window function in
optimizer off mode


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/875067d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/875067d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/875067d6

Branch: refs/heads/master
Commit: 875067d6357e958555f78060e418013cc1009469
Parents: 3189e07
Author: Ming LI <mli@pivotal.io>
Authored: Fri Jan 15 15:37:02 2016 +0800
Committer: Ming LI <mli@pivotal.io>
Committed: Fri Jan 15 15:56:59 2016 +0800

----------------------------------------------------------------------
 src/backend/cdb/dispatcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/875067d6/src/backend/cdb/dispatcher.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/dispatcher.c b/src/backend/cdb/dispatcher.c
index 36bc584..9d283b9 100644
--- a/src/backend/cdb/dispatcher.c
+++ b/src/backend/cdb/dispatcher.c
@@ -755,7 +755,7 @@ dispatcher_split_logical_tasks_for_query_desc(DispatchData *data)
 								 list_length(data->sliceTable->slices));
 
 	data->job.used_slices_num = slice_num;
-	data->job.all_slices_num = slice_num;
+	data->job.all_slices_num = list_length(data->sliceTable->slices);
 
 	data->job.slices = palloc0(data->job.used_slices_num * sizeof(DispatchSlice));
 	for (i = 0; i < data->job.used_slices_num; i++)


Mime
View raw message