hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject incubator-hawq git commit: HAWQ-135. Fixed coredump when explain generate_serial in optimizer off
Date Mon, 09 Nov 2015 03:01:14 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 2e70e6314 -> 03dff72de


HAWQ-135. Fixed coredump when explain generate_serial in optimizer off


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

Branch: refs/heads/master
Commit: 03dff72de84da8f1cfd44f8ce7e5706f2b5eeab6
Parents: 2e70e63
Author: Ming LI <mli@pivotal.io>
Authored: Fri Nov 6 18:15:29 2015 +0800
Committer: Ming LI <mli@pivotal.io>
Committed: Mon Nov 9 11:00:36 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/03dff72d/src/backend/cdb/cdbllize.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbllize.c b/src/backend/cdb/cdbllize.c
index 497ed94..3a3e1f2 100644
--- a/src/backend/cdb/cdbllize.c
+++ b/src/backend/cdb/cdbllize.c
@@ -269,6 +269,11 @@ cdbparallelize(PlannerInfo *root,
 		Assert(root->parse == query);
 		plan = apply_motion(root, plan, query);
 	}
+    else
+    {
+        //default to sequential
+        plan->dispatch = DISPATCH_SEQUENTIAL;
+    }
 
 
 	/* Restore the global count of PARAM_EXEC from the top plan node. */


Mime
View raw message