Repository: trafodion Updated Branches: refs/heads/master e1a5e84d9 -> beb54ad49
fix the bug that the element in LRUList has been destructed twice. Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/2d196c1e Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/2d196c1e Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/2d196c1e Branch: refs/heads/master Commit: 2d196c1e6dedcbdcfd2c75a7e62d627dea3f4eca Parents: 571611a Author: wenjun.zhu <[email protected]> Authored: Mon Nov 12 18:25:33 2018 +0800 Committer: wenjun.zhu <[email protected]> Committed: Mon Nov 12 18:25:33 2018 +0800 ---------------------------------------------------------------------- core/sql/sqlcomp/QCache.h | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/2d196c1e/core/sql/sqlcomp/QCache.h ---------------------------------------------------------------------- diff --git a/core/sql/sqlcomp/QCache.h b/core/sql/sqlcomp/QCache.h index b0a06c3..310cea1 100644 --- a/core/sql/sqlcomp/QCache.h +++ b/core/sql/sqlcomp/QCache.h @@ -1354,7 +1354,6 @@ class LRUList : public NABasicObject { iterator tmp = (iterator)(pos.node_->next_); pos.node_->prev_->next_ = pos.node_->next_; pos.node_->next_->prev_ = pos.node_->prev_; - pos.node_->data_.~KeyDataPair(); // destroy data_ putNode(pos.node_); --length_; return tmp;
