[to #51362102] fix affected rows in PL

This commit is contained in:
0xacc
2023-08-09 09:18:41 +00:00
committed by ob-robot
parent 3b3ec369be
commit f5d4e78343
2 changed files with 6 additions and 1 deletions

View File

@ -6199,6 +6199,8 @@ int ObSPIService::get_result(ObPLExecCtx *ctx,
true,
can_retry));
OZ (query_sender->send_eof_packet(true));
OX(implicit_cursor->set_rowcount(into_count > 0 ? 1 : 0));
}
} else if (stmt::T_ANONYMOUS_BLOCK != ob_result_set->get_stmt_type()) {
// 不带Returing的INSERT,DELETE,UPDATE