Skip to content

Commit 3be5f68

Browse files
committed
fix
1 parent 7cf5ee1 commit 3be5f68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

be/src/http/action/delete_bitmap_action.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ static Status _check_param(HttpRequest* req, uint64_t* tablet_id, bool* verbose)
7878
return Status::InternalError("convert tablet_id failed, {}", e.what());
7979
}
8080
if (*tablet_id == 0) {
81-
return Status::InternalError("check param failed: missing tablet_id");
81+
return Status::InternalError("check param failed: invalid tablet_id");
8282
}
83-
*verbose = req->param("verbose") == "true";
83+
*verbose = iequal(req->param("verbose"), "true");
8484
return Status::OK();
8585
}
8686

@@ -117,8 +117,8 @@ Status DeleteBitmapAction::_handle_show_local_delete_bitmap_count(HttpRequest* r
117117
auto& [rowset_id, segment_id, version] = id;
118118
std::stringstream ss;
119119
ss << "rowset: " << rowset_id.to_string() << ", segment: " << segment_id
120-
<< ", version=" << version << ": cardinality=" << bitmap.cardinality()
121-
<< ", size=" << bitmap.getSizeInBytes();
120+
<< ", version: " << version << ". cardinality: " << bitmap.cardinality()
121+
<< ", size: " << bitmap.getSizeInBytes();
122122
std::string str = ss.str();
123123
rapidjson::Value value;
124124
value.SetString(str.c_str(), cast_set<uint32_t>(str.length()), dm_arr.GetAllocator());

0 commit comments

Comments
 (0)