Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit ded7319

Browse files
Merge branch 'master' into join-reordering
2 parents cf03c7b + 7156935 commit ded7319

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

cmake/External/capnproto.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if (NOT __CAPNP_INCLUDED) # guard against multiple includes
2020
set(CAPNP_EXTRA_COMPILER_FLAGS "-fPIC")
2121
endif()
2222

23-
set(CAPNP_CXX_FLAGS ${CMAKE_CXX_FLAGS} ${CAPNP_EXTRA_COMPILER_FLAGS})
24-
set(CAPNP_C_FLAGS ${CMAKE_C_FLAGS} ${CAPNP_EXTRA_COMPILER_FLAGS})
23+
set(CAPNP_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CAPNP_EXTRA_COMPILER_FLAGS}")
24+
set(CAPNP_C_FLAGS "${CMAKE_C_FLAGS} ${CAPNP_EXTRA_COMPILER_FLAGS}")
2525

2626
ExternalProject_Add(capnp
2727
PREFIX ${capnp_PREFIX}

cmake/External/gflags.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if (NOT __GFLAGS_INCLUDED) # guard against multiple includes
2020
set(GFLAGS_EXTRA_COMPILER_FLAGS "-fPIC")
2121
endif()
2222

23-
set(GFLAGS_CXX_FLAGS ${CMAKE_CXX_FLAGS} ${GFLAGS_EXTRA_COMPILER_FLAGS})
24-
set(GFLAGS_C_FLAGS ${CMAKE_C_FLAGS} ${GFLAGS_EXTRA_COMPILER_FLAGS})
23+
set(GFLAGS_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GFLAGS_EXTRA_COMPILER_FLAGS}")
24+
set(GFLAGS_C_FLAGS "${CMAKE_C_FLAGS} ${GFLAGS_EXTRA_COMPILER_FLAGS}")
2525

2626
ExternalProject_Add(gflags
2727
PREFIX ${gflags_PREFIX}

cmake/External/glog.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ if (NOT __GLOG_INCLUDED)
2222
set(GLOG_EXTRA_COMPILER_FLAGS "-fPIC")
2323
endif()
2424

25-
set(GLOG_CXX_FLAGS ${CMAKE_CXX_FLAGS} ${GLOG_EXTRA_COMPILER_FLAGS})
26-
set(GLOG_C_FLAGS ${CMAKE_C_FLAGS} ${GLOG_EXTRA_COMPILER_FLAGS})
25+
set(GLOG_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GLOG_EXTRA_COMPILER_FLAGS}")
26+
set(GLOG_C_FLAGS "${CMAKE_C_FLAGS} ${GLOG_EXTRA_COMPILER_FLAGS}")
2727

2828
# depend on gflags if we're also building it
2929
if (GFLAGS_EXTERNAL)

test/index/testing_index_util.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void TestingIndexUtil::UniqueKeyInsertTest(const IndexType index_type) {
104104

105105
// INDEX
106106
std::unique_ptr<index::Index, void (*)(index::Index *)> index(
107-
TestingIndexUtil::BuildIndex(index_type, false), DestroyIndex);
107+
TestingIndexUtil::BuildIndex(index_type, true), DestroyIndex);
108108
const catalog::Schema *key_schema = index->GetKeySchema();
109109

110110
// Single threaded test
@@ -151,10 +151,10 @@ void TestingIndexUtil::UniqueKeyDeleteTest(const IndexType index_type) {
151151

152152
key0->SetValue(0, type::ValueFactory::GetIntegerValue(100), pool);
153153
key0->SetValue(1, type::ValueFactory::GetVarcharValue("a"), pool);
154-
key2->SetValue(0, type::ValueFactory::GetIntegerValue(100), pool);
155-
key2->SetValue(1, type::ValueFactory::GetVarcharValue("b"), pool);
156154
key1->SetValue(0, type::ValueFactory::GetIntegerValue(100), pool);
157-
key1->SetValue(1, type::ValueFactory::GetVarcharValue("c"), pool);
155+
key1->SetValue(1, type::ValueFactory::GetVarcharValue("b"), pool);
156+
key2->SetValue(0, type::ValueFactory::GetIntegerValue(100), pool);
157+
key2->SetValue(1, type::ValueFactory::GetVarcharValue("c"), pool);
158158

159159
LOG_DEBUG("INDEX CONTENTS:\n%s",
160160
index::IndexUtil::Debug(index.get()).c_str());
@@ -278,7 +278,7 @@ void TestingIndexUtil::UniqueKeyMultiThreadedTest(const IndexType index_type) {
278278

279279
// INDEX
280280
std::unique_ptr<index::Index, void (*)(index::Index *)> index(
281-
TestingIndexUtil::BuildIndex(index_type, false), DestroyIndex);
281+
TestingIndexUtil::BuildIndex(index_type, true), DestroyIndex);
282282
const catalog::Schema *key_schema = index->GetKeySchema();
283283

284284
// Parallel Test

0 commit comments

Comments
 (0)