[CP] Unfree ptr about connect by with index if has cycle.
This commit is contained in:
parent
91e7a59753
commit
8d128c3303
@ -409,6 +409,10 @@ int ObConnectByOpBFSPump::get_next_row(
|
||||
ret = OB_ERR_CBY_LOOP;
|
||||
LOG_WARN("there is a cycle", K(ret));
|
||||
}
|
||||
if (pump_node.path_node_.prior_exprs_result_ != NULL) {
|
||||
allocator_.free(const_cast<ObChunkDatumStore::StoredRow *>(pump_node.path_node_.prior_exprs_result_));
|
||||
pump_node.path_node_.prior_exprs_result_ = NULL;
|
||||
}
|
||||
} else {
|
||||
next_row_found = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user