[CP] [to #46479597] use hint query_timeout to fill_cursor

This commit is contained in:
LiuYoung00
2024-03-14 02:50:29 +00:00
committed by ob-robot
parent 126c1d5744
commit 702989b21d
3 changed files with 19 additions and 7 deletions

View File

@ -1628,7 +1628,7 @@ int ObPLDbmsSql::fill_dbms_cursor(ObSQLSessionInfo *session,
// 2.* fill row store
if (cursor->is_streaming()) {
// we can't reopen the cursor, so if fill cursor has error. we will report to client.
OZ (ObSPIService::fill_cursor(*(cursor->get_cursor_handler()->get_result_set()), spi_cursor));
OZ (ObSPIService::fill_cursor(*(cursor->get_cursor_handler()->get_result_set()), spi_cursor, 0));
} else {
ObSPICursor *orig_spi_cursor = cursor->get_spi_cursor();
for (int64_t i = 0; OB_SUCC(ret) && i < orig_spi_cursor->fields_.count(); ++i) {