未验证 提交 2e1a0c26 编写于 作者: S Sun Jianyun 提交者: GitHub

fix crash error of ObMacroMetaReplayMap (#96)

上级 a2e86378
......@@ -88,7 +88,7 @@ int ObMacroMetaReplayMap::set(const ObMacroBlockKey& key, ObMacroBlockMetaV2& me
delete_meta->~ObMacroBlockMetaV2();
allocator_.free(delete_meta);
delete_meta = nullptr;
LOG_INFO("succeed to overwrite replay macro meta", K(key), K(*new_meta), K(key.hash()));
LOG_INFO("succeed to overwrite replay macro meta", K(key), KP(new_meta), K(key.hash()));
}
}
} else {
......@@ -96,7 +96,7 @@ int ObMacroMetaReplayMap::set(const ObMacroBlockKey& key, ObMacroBlockMetaV2& me
}
} else {
new_meta = nullptr;
LOG_INFO("succeed to set replay macro meta", K(key), K(*new_meta), K(key.hash()));
LOG_INFO("succeed to set replay macro meta", K(key), KP(new_meta), K(key.hash()));
}
if (nullptr != new_meta) {
new_meta->~ObMacroBlockMetaV2();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册