You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/12/27 03:14:32 UTC

[doris] branch master updated: [fix](mow-uniquekey) fix dereference to nullptr in Tablet::calc_delete_bitmap (#15375)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 73957a028c [fix](mow-uniquekey) fix dereference to nullptr in Tablet::calc_delete_bitmap (#15375)
73957a028c is described below

commit 73957a028c5281c018f2a80f88b7e80dc411d7af
Author: zhengshengjun <zh...@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 4fed91ed15..0d330d2f86 100644
--- a/be/src/olap/tablet.cpp
+++ b/be/src/olap/tablet.cpp
@@ -2013,7 +2013,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-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org