Fix core caused by check_stmt_unique

This commit is contained in:
xianyu-w
2023-10-10 09:24:53 +00:00
committed by ob-robot
parent 66452923c0
commit 3d363ea059
5 changed files with 145 additions and 64 deletions

View File

@ -181,6 +181,21 @@ public:
ObFdItemSet &fd_item_set,
ObSqlBitSet<> &deduced_fd);
inline void destory()
{
DLIST_FOREACH_NORET(node, item_store_.get_obj_list()) {
if (node != NULL && node->get_obj() != NULL) {
node->get_obj()->~ObFdItem();
}
}
DLIST_FOREACH_NORET(node, item_set_store_.get_obj_list()) {
if (node != NULL && node->get_obj() != NULL) {
node->get_obj()->~ObFdItemSet();
}
}
parent_sets_.destroy();
}
inline common::ObIAllocator &get_allocator() { return allocator_; }
TO_STRING_KV("", "");
private: