You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by ml...@apache.org on 2016/11/22 09:33:49 UTC

incubator-hawq git commit: HAWQ-1149. Fixed assert failure at cdbdatabaseinfo.c:803

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 787c096d4 -> cb6811182


HAWQ-1149. Fixed assert failure at cdbdatabaseinfo.c:803


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

Branch: refs/heads/master
Commit: cb68111827ece9e32fc88f42fd976d418b4401c3
Parents: 787c096
Author: Ming LI <ml...@apache.org>
Authored: Tue Nov 22 17:33:01 2016 +0800
Committer: Ming LI <ml...@apache.org>
Committed: Tue Nov 22 17:33:25 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/cb681118/src/backend/cdb/cdbdatabaseinfo.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdatabaseinfo.c b/src/backend/cdb/cdbdatabaseinfo.c
index 4e0be41..096df92 100644
--- a/src/backend/cdb/cdbdatabaseinfo.c
+++ b/src/backend/cdb/cdbdatabaseinfo.c
@@ -797,7 +797,7 @@ static void DatabaseInfo_AddFile(
 		DatabaseInfo_AddMiscEntry(info, tablespace, false, name);
 		return;
 	}
-	else if (itemCount == 1 && !isHdfs)
+	else if (itemCount == 1)
 		segmentFileNum = 0;
 	else
 		Assert(itemCount == 2);