hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hubertzh...@apache.org
Subject incubator-hawq git commit: HAWQ-487. Ensure virtual segment of analyze not greate than GetUtilPartitionNum.
Date Mon, 07 Mar 2016 01:57:27 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master d95594400 -> 396a219ca


HAWQ-487. Ensure virtual segment of analyze not greate than GetUtilPartitionNum.


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

Branch: refs/heads/master
Commit: 396a219ca9a09fdea94b3211741e47aa55544ae7
Parents: d955944
Author: hubertzhang <hzhang@pivotal.io>
Authored: Mon Mar 7 09:57:10 2016 +0800
Committer: hubertzhang <hzhang@pivotal.io>
Committed: Mon Mar 7 09:57:10 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/396a219c/src/backend/commands/analyze.c
----------------------------------------------------------------------
diff --git a/src/backend/commands/analyze.c b/src/backend/commands/analyze.c
index 77e5e58..b7d8668 100644
--- a/src/backend/commands/analyze.c
+++ b/src/backend/commands/analyze.c
@@ -847,7 +847,7 @@ static int calculate_virtual_segment_number(List* candidateRelations)
{
 		totalDataSize >>= 27;
 		vsegNumber = totalDataSize + 1;
 	}
-	assert(vsegNumber > 0);
+	Assert(vsegNumber > 0);
 	/*vsegNumber should be less than GetUtilPartitionNum*/
 	if(vsegNumber > GetUtilPartitionNum()){
 		vsegNumber = GetUtilPartitionNum();


Mime
View raw message