@@ -104,7 +104,7 @@ void TestingIndexUtil::UniqueKeyInsertTest(const IndexType index_type) {
104
104
105
105
// INDEX
106
106
std::unique_ptr<index::Index, void (*)(index::Index *)> index (
107
- TestingIndexUtil::BuildIndex (index_type, false ), DestroyIndex);
107
+ TestingIndexUtil::BuildIndex (index_type, true ), DestroyIndex);
108
108
const catalog::Schema *key_schema = index->GetKeySchema ();
109
109
110
110
// Single threaded test
@@ -151,10 +151,10 @@ void TestingIndexUtil::UniqueKeyDeleteTest(const IndexType index_type) {
151
151
152
152
key0->SetValue (0 , type::ValueFactory::GetIntegerValue (100 ), pool);
153
153
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);
156
154
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);
158
158
159
159
LOG_DEBUG (" INDEX CONTENTS:\n %s" ,
160
160
index::IndexUtil::Debug (index.get ()).c_str ());
@@ -278,7 +278,7 @@ void TestingIndexUtil::UniqueKeyMultiThreadedTest(const IndexType index_type) {
278
278
279
279
// INDEX
280
280
std::unique_ptr<index::Index, void (*)(index::Index *)> index (
281
- TestingIndexUtil::BuildIndex (index_type, false ), DestroyIndex);
281
+ TestingIndexUtil::BuildIndex (index_type, true ), DestroyIndex);
282
282
const catalog::Schema *key_schema = index->GetKeySchema ();
283
283
284
284
// Parallel Test
0 commit comments