You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2016/02/23 08:02:03 UTC
[1/2] incubator-hawq git commit: HAWQ-440. Fix bug in pg_regress of
commit HAWQ-432.
Repository: incubator-hawq
Updated Branches:
refs/heads/master ef00dc560 -> ca4111fc7
HAWQ-440. Fix bug in pg_regress of commit HAWQ-432.
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/edd1f31d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/edd1f31d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/edd1f31d
Branch: refs/heads/master
Commit: edd1f31db51a1159e0388eb557a4305e0512c848
Parents: ef00dc5
Author: hubertzhang <hz...@pivotal.io>
Authored: Tue Feb 23 14:53:48 2016 +0800
Committer: hubertzhang <hz...@pivotal.io>
Committed: Tue Feb 23 14:53:54 2016 +0800
----------------------------------------------------------------------
src/test/regress/pg_regress.c | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/edd1f31d/src/test/regress/pg_regress.c
----------------------------------------------------------------------
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index 99aad84..e4d676c 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -896,7 +896,6 @@ initialize_environment(void)
convert_sourcefiles();
load_resultmap();
load_expected_statuses(expected_statuses_file);
- free(expected_statuses_file);
}
/*
@@ -1283,7 +1282,6 @@ results_differ(const char *testname, const char *resultsfile, const char *defaul
snprintf(m_pretty_diff_opts, sizeof(m_pretty_diff_opts),
"%s --gpd_init %s", pretty_diff_opts, initfile);
- free(initfile);
}
else
{
[2/2] incubator-hawq git commit: HAWQ-438. EagerlyReleased hash table
involved in hash join in explain statement introduce core on hawq dbg build.
Posted by hu...@apache.org.
HAWQ-438. EagerlyReleased hash table involved in hash join in explain statement introduce core on hawq dbg build.
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/ca4111fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/ca4111fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/ca4111fc
Branch: refs/heads/master
Commit: ca4111fc70b1d6ee20db90522c6114702cf496ce
Parents: edd1f31
Author: hubertzhang <hz...@pivotal.io>
Authored: Tue Feb 23 14:58:54 2016 +0800
Committer: hubertzhang <hz...@pivotal.io>
Committed: Tue Feb 23 14:58:54 2016 +0800
----------------------------------------------------------------------
src/backend/executor/nodeHashjoin.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/ca4111fc/src/backend/executor/nodeHashjoin.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeHashjoin.c b/src/backend/executor/nodeHashjoin.c
index d913b2f..11b4eed 100644
--- a/src/backend/executor/nodeHashjoin.c
+++ b/src/backend/executor/nodeHashjoin.c
@@ -359,14 +359,14 @@ ExecHashJoin(HashJoinState *node)
* If the inner relation is completely empty, and we're not doing an
* outer join, we can quit without scanning the outer relation.
*/
- if (TupIsNull(outerTupleSlot)
- && node->js.jointype != JOIN_LEFT
- && node->js.jointype != JOIN_LASJ
- && node->js.jointype != JOIN_LASJ_NOTIN
- && node->hj_InnerEmpty)
+ if (TupIsNull(outerTupleSlot))
{
/* end of join */
- if (gp_eager_hashtable_release)
+ if (gp_eager_hashtable_release
+ && node->js.jointype != JOIN_LEFT
+ && node->js.jointype != JOIN_LASJ
+ && node->js.jointype != JOIN_LASJ_NOTIN
+ && node->hj_InnerEmpty)
{
ExecEagerFreeHashJoin(node);
}