quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hakanmemiso...@apache.org
Subject incubator-quickstep git commit: Fixed the bug in SetUp.
Date Fri, 23 Sep 2016 19:00:55 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/regression 0280a7eca -> c6a0cb25c


Fixed the bug in SetUp.


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

Branch: refs/heads/regression
Commit: c6a0cb25c6d1ed6ca8c2b05024a03d356ae50b6e
Parents: 0280a7e
Author: Hakan Memisoglu <hakanmemisoglu@gmail.com>
Authored: Fri Sep 23 14:00:17 2016 -0500
Committer: Hakan Memisoglu <hakanmemisoglu@gmail.com>
Committed: Fri Sep 23 14:00:17 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/c6a0cb25/storage/tests/SplitRowStoreRegression.cpp
----------------------------------------------------------------------
diff --git a/storage/tests/SplitRowStoreRegression.cpp b/storage/tests/SplitRowStoreRegression.cpp
index a21f9a8..2fbe9c3 100644
--- a/storage/tests/SplitRowStoreRegression.cpp
+++ b/storage/tests/SplitRowStoreRegression.cpp
@@ -21,7 +21,7 @@ class SplitRowStoreRegression : public ::testing::TestWithParam<std::size_t>
{
     relation_.reset(new CatalogRelation(nullptr, "RegressionRelation"));
 
     std::size_t num_of_attributes = GetParam();
-    for (std::size_t i = 0; num_of_attributes; ++i) {
+    for (std::size_t i = 0; i < num_of_attributes; ++i) {
       std::string name_of_attribute = "double_attr" + std::to_string(i);
       CatalogAttribute *double_attr = new CatalogAttribute(relation_.get(),
                                                            name_of_attribute,


Mime
View raw message