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 2015/11/09 04:00:06 UTC

incubator-hawq git commit: HAWQ-134. Fixed 2 transaction drop table concurrently report successfully

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 185b83cd6 -> 2e70e6314


HAWQ-134. Fixed 2 transaction drop table concurrently report successfully


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

Branch: refs/heads/master
Commit: 2e70e6314d8884bf19a4676a14d3a5a6a040eacb
Parents: 185b83c
Author: Ming LI <ml...@pivotal.io>
Authored: Fri Nov 6 12:53:19 2015 +0800
Committer: Ming LI <ml...@pivotal.io>
Committed: Mon Nov 9 10:55:12 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/2e70e631/src/backend/tcop/utility.c
----------------------------------------------------------------------
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 986afb3..8899920 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -254,7 +254,7 @@ CheckDropRelStorage(RangeVar *rel, ObjectType removeType)
 	Form_pg_class classform;
 	cqContext	*pcqCtx;
 
-	relOid = RangeVarGetRelid(rel, true, false /*allowHcatalog*/);
+	relOid = RangeVarGetRelid(rel, false, false /*allowHcatalog*/);
 	
 	if (!OidIsValid(relOid))
 		return false;