Skip to content

Commit 69693b1

Browse files
committed
Use explicit pointer and bool literals in recycler test
1 parent eee467e commit 69693b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎cloud/test/recycler_test.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9213,7 +9213,7 @@ TEST(RecyclerTest, delete_tmp_rowset_data_with_rowset_idx_v3) {
92139213
doris::TabletSchemaCloudPB schema;
92149214
schema.set_schema_version(1);
92159215
schema.set_inverted_index_storage_format(InvertedIndexStorageFormatPB::V1);
9216-
auto index = schema.add_index();
9216+
auto* index = schema.add_index();
92179217
index->set_index_id(1);
92189218
index->set_index_type(IndexType::INVERTED);
92199219

@@ -9233,7 +9233,7 @@ TEST(RecyclerTest, delete_tmp_rowset_data_with_rowset_idx_v3) {
92339233
rowset.set_schema_version(schema.schema_version());
92349234
rowset.mutable_tablet_schema()->CopyFrom(schema);
92359235
rowset.set_inverted_index_storage_format(InvertedIndexStorageFormatPB::V3);
9236-
create_tmp_rowset(txn_kv.get(), accessor.get(), rowset, 1, true);
9236+
create_tmp_rowset(txn_kv.get(), accessor.get(), rowset, true, true);
92379237
rowset_pbs.emplace(rowset.rowset_id_v2(), rowset);
92389238

92399239
std::unordered_set<std::string> list_files;

0 commit comments

Comments
 (0)