You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by zu...@apache.org on 2017/01/11 21:36:47 UTC

incubator-quickstep git commit: Fixed the bug in addBlockToPartition.

Repository: incubator-quickstep
Updated Branches:
  refs/heads/master 86411b9c1 -> 8d25d43b4


Fixed the bug in addBlockToPartition.


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

Branch: refs/heads/master
Commit: 8d25d43b46ffb4b7b43efc0ed4f49a74fb9607b6
Parents: 86411b9
Author: Zuyu Zhang <zu...@apache.org>
Authored: Wed Jan 11 13:36:39 2017 -0800
Committer: Zuyu Zhang <zu...@apache.org>
Committed: Wed Jan 11 13:36:39 2017 -0800

----------------------------------------------------------------------
 query_execution/PolicyEnforcerBase.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/8d25d43b/query_execution/PolicyEnforcerBase.cpp
----------------------------------------------------------------------
diff --git a/query_execution/PolicyEnforcerBase.cpp b/query_execution/PolicyEnforcerBase.cpp
index b799d5f..1a2ab46 100644
--- a/query_execution/PolicyEnforcerBase.cpp
+++ b/query_execution/PolicyEnforcerBase.cpp
@@ -105,8 +105,7 @@ void PolicyEnforcerBase::processMessage(const TaggedMessage &tagged_message) {
       relation->addBlock(block);
 
       if (proto.has_partition_id()) {
-        relation->getPartitionSchemeMutable()->addBlockToPartition(
-            proto.partition_id(), block);
+        relation->getPartitionSchemeMutable()->addBlockToPartition(block, proto.partition_id());
       }
       return;
     }