This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
commit d5936eb48cb01f7b81405b6b0b6b6d7884a71851 Author: zhengshengjun <zhengsheng...@apache.org> AuthorDate: Tue Dec 27 11:14:25 2022 +0800 [fix](mow-uniquekey) fix dereference to nullptr in Tablet::calc_delete_bitmap (#15375) --- be/src/olap/tablet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp index d0dd89c0bd..3722b7d079 100644 --- a/be/src/olap/tablet.cpp +++ b/be/src/olap/tablet.cpp @@ -2046,7 +2046,7 @@ Status Tablet::calc_delete_bitmap(RowsetId rowset_id, } } - if (!specified_rowset_ids->empty()) { + if (specified_rowset_ids != nullptr && !specified_rowset_ids->empty()) { auto st = lookup_row_key(*key, specified_rowset_ids, &loc, dummy_version.first - 1); CHECK(st.ok() || st.is_not_found() || st.is_already_exist()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org