You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by na...@apache.org on 2016/06/11 03:47:49 UTC
incubator-quickstep git commit: Fix formatting
Repository: incubator-quickstep
Updated Branches:
refs/heads/fix_getblockforinsertion 688d37aae -> 26d1639ca
Fix formatting
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/26d1639c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/26d1639c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/26d1639c
Branch: refs/heads/fix_getblockforinsertion
Commit: 26d1639ca923d08505bf0c9bf105ef8c0bf3637b
Parents: 688d37a
Author: Navneet Potti <na...@apache.org>
Authored: Fri Jun 10 22:46:17 2016 -0500
Committer: Navneet Potti <na...@apache.org>
Committed: Fri Jun 10 22:46:17 2016 -0500
----------------------------------------------------------------------
storage/InsertDestination.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/26d1639c/storage/InsertDestination.cpp
----------------------------------------------------------------------
diff --git a/storage/InsertDestination.cpp b/storage/InsertDestination.cpp
index 8969378..8e213f2 100644
--- a/storage/InsertDestination.cpp
+++ b/storage/InsertDestination.cpp
@@ -345,8 +345,7 @@ MutableBlockReference BlockPoolInsertDestination::getBlockForInsertion() {
MutableBlockReference retval = std::move(available_block_refs_.back());
available_block_refs_.pop_back();
return retval;
- }
- else if (!available_block_ids_.empty()) {
+ } else if (!available_block_ids_.empty()) {
const block_id id = available_block_ids_.back();
available_block_ids_.pop_back();
MutableBlockReference retval = storage_manager_->getBlockMutable(id, relation_);