Minor change in DCHECK.

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

Branch: refs/heads/partitioned-aggregation
Commit: 3b5b8a904d8d36a49436f47a967d4c5020b81171
Parents: 157ce78
Author: Harshad Deshmukh <hbdeshm...@apache.org>
Authored: Thu Aug 18 22:14:09 2016 -0500
Committer: Harshad Deshmukh <hbdeshm...@apache.org>
Committed: Tue Sep 20 12:57:06 2016 -0500

----------------------------------------------------------------------
 storage/StorageBlock.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/3b5b8a90/storage/StorageBlock.cpp
----------------------------------------------------------------------
diff --git a/storage/StorageBlock.cpp b/storage/StorageBlock.cpp
index bb43630..5ba2a6e 100644
--- a/storage/StorageBlock.cpp
+++ b/storage/StorageBlock.cpp
@@ -1377,7 +1377,7 @@ void StorageBlock::aggregateGroupByPartitioned(
     std::unique_ptr<TupleIdSequence> *reuse_matches,
     std::vector<std::unique_ptr<ColumnVector>> *reuse_group_by_vectors,
     PartitionedHashTablePool *hashtable_pool) const {
-  DCHECK_EQ(group_by.size(), 0u)
+  DCHECK(!group_by.empty())
       << "Called aggregateGroupByPartitioned() with zero GROUP BY expressions";
 
   SubBlocksReference sub_blocks_ref(*tuple_store_,

Reply via email to