hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject incubator-hawq git commit: HAWQ-34. Skip hcatalog in gp_persistent_build_all
Date Thu, 22 Oct 2015 02:41:11 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 7ad89503c -> d89788de7


HAWQ-34. Skip hcatalog in gp_persistent_build_all


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

Branch: refs/heads/master
Commit: d89788de77cbc806732bcd2b9fdb81737a6f2090
Parents: 7ad8950
Author: Jimmy Da <jimmida@gmail.com>
Authored: Mon Oct 19 09:57:47 2015 -0700
Committer: Jimmy Da <jimmida@gmail.com>
Committed: Wed Oct 21 19:40:28 2015 -0700

----------------------------------------------------------------------
 src/backend/cdb/cdbpersistentbuild.c | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d89788de/src/backend/cdb/cdbpersistentbuild.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbpersistentbuild.c b/src/backend/cdb/cdbpersistentbuild.c
index e161060..7b161b1 100755
--- a/src/backend/cdb/cdbpersistentbuild.c
+++ b/src/backend/cdb/cdbpersistentbuild.c
@@ -768,6 +768,10 @@ gp_persistent_build_all(PG_FUNCTION_ARGS)
 		Oid dbOid;
 		
 		dbOid = HeapTupleGetOid(tuple);
+
+		if (dbOid == HcatalogDbOid)
+			continue;
+
 		if (dbOid == TemplateDbOid)
 		{
 			if (Debug_persistent_print)


Mime
View raw message