[CP] to issue<55645636>:fix two cursor memory leak stack

This commit is contained in:
hanr881
2024-04-08 09:53:38 +00:00
committed by ob-robot
parent b4ac007bea
commit fb4195d21a
6 changed files with 42 additions and 15 deletions

View File

@ -347,7 +347,9 @@ int ObExprSubQueryRef::expr_eval(
OZ (session->get_tmp_table_size(size));
OZ (cursor->prepare_spi_cursor(spi_cursor,
session->get_effective_tenant_id(),
size));
size,
false,
session));
OZ (spi_cursor->row_desc_.assign(extra_info->row_desc_));
while (OB_SUCC(ret)) {
if (OB_FAIL(iter->get_next_row())) {