add task hash map to das ref

This commit is contained in:
obdev
2022-11-03 02:38:31 +00:00
committed by wangzelin.wzl
parent 3eef7b053a
commit 71d86596e7
20 changed files with 428 additions and 91 deletions

View File

@ -59,22 +59,6 @@ int ObDASUtils::store_warning_msg(const ObWarningBuffer &wb, obrpc::ObRpcResultC
return ret;
}
int ObDASUtils::get_tablet_loc_by_id(const ObTabletID &tablet_id,
ObDASTableLoc &table_loc,
ObDASTabletLoc *&tablet_loc)
{
int ret = OB_SUCCESS;
tablet_loc = nullptr;
FOREACH(tmp_node, table_loc.tablet_locs_) {
ObDASTabletLoc *tmp_tablet_loc = *tmp_node;
if (tmp_tablet_loc->tablet_id_ == tablet_id) {
tablet_loc = tmp_tablet_loc;
break;
}
}
return ret;
}
int ObDASUtils::check_nested_sql_mutating(ObTableID ref_table_id, ObExecContext &exec_ctx)
{
int ret = OB_SUCCESS;