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 2021/11/25 14:53:05 UTC
[incubator-doris] branch master updated: [fix](bitmap-function) fix core dump at some bitmap function (#7221)
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/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2445f10 [fix](bitmap-function) fix core dump at some bitmap function (#7221)
2445f10 is described below
commit 2445f108685588e8a354c7c41d9030750c070c21
Author: Pxl <95...@qq.com>
AuthorDate: Thu Nov 25 22:52:50 2021 +0800
[fix](bitmap-function) fix core dump at some bitmap function (#7221)
---
be/src/util/bitmap_value.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/util/bitmap_value.h b/be/src/util/bitmap_value.h
index 91c7320..a3c54e0 100644
--- a/be/src/util/bitmap_value.h
+++ b/be/src/util/bitmap_value.h
@@ -598,7 +598,7 @@ public:
if (iter->second.isEmpty()) {
// empty Roarings are 84 bytes
savedBytes += 88;
- roarings.erase(iter++);
+ iter = roarings.erase(iter);
} else {
savedBytes += iter->second.shrinkToFit();
iter++;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org