Repository: incubator-hawq
Updated Branches:
  refs/heads/master af3e3b722 -> 268b4e5e0


HAWQ-1032. Fix bug of wrong parameter in GpPolicyFetch.


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

Branch: refs/heads/master
Commit: 268b4e5e0c176fdb5d51d36cd876bde4a8b3c598
Parents: af3e3b7
Author: hzhang2 <[email protected]>
Authored: Mon Sep 5 15:03:28 2016 +0800
Committer: hzhang2 <[email protected]>
Committed: Mon Sep 5 15:03:28 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/268b4e5e/src/backend/cdb/cdbpartition.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbpartition.c b/src/backend/cdb/cdbpartition.c
index 3efeea2..a887ee4 100644
--- a/src/backend/cdb/cdbpartition.c
+++ b/src/backend/cdb/cdbpartition.c
@@ -6418,7 +6418,7 @@ atpxPartAddList(Relation rel,
        }
        
        GpPolicy * parPolicy = GpPolicyFetch(CurrentMemoryContext,
-                 RelationGetRelationName(par_rel));
+           RelationGetRelid(par_rel));
        {
                List                    *l1;
                ListCell                *lc;

Reply via email to