to issue<50673546>:fix forall dblink issue

This commit is contained in:
hanr881
2023-08-04 03:48:50 +00:00
committed by ob-robot
parent a51c164a09
commit 98f30c3a08
9 changed files with 43 additions and 4 deletions

View File

@ -1275,6 +1275,9 @@ int ObResultSet::ExternalRetrieveInfo::build(
CK (OB_NOT_NULL(session_info.get_cur_exec_ctx()->get_sql_ctx()));
OX (is_bulk_ = session_info.get_cur_exec_ctx()->get_sql_ctx()->is_bulk_);
OX (session_info.get_cur_exec_ctx()->get_sql_ctx()->is_bulk_ = false);
if (stmt.is_dml_stmt()) {
OX (has_link_table_ = static_cast<ObDMLStmt&>(stmt).has_link_table());
}
if (OB_SUCC(ret)) {
ObSchemaGetterGuard *schema_guard = NULL;
if (OB_ISNULL(stmt.get_query_ctx()) ||