[Improvement] Simplify expressions for _vconjunct_ctx_ptr (#9816)
This commit is contained in:
@ -544,8 +544,8 @@ void OlapScanNode::remove_pushed_conjuncts(RuntimeState* state) {
|
||||
|
||||
// set vconjunct_ctx is empty, if all conjunct
|
||||
if (_direct_conjunct_size == 0) {
|
||||
if (_vconjunct_ctx_ptr.get() != nullptr) {
|
||||
(*_vconjunct_ctx_ptr.get())->close(state);
|
||||
if (_vconjunct_ctx_ptr != nullptr) {
|
||||
(*_vconjunct_ctx_ptr)->close(state);
|
||||
_vconjunct_ctx_ptr = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user