[FEAT MERGE] Phase one of 3A project

Co-authored-by: rolandqi <qikai456@126.com>
Co-authored-by: yangzhifeng <yangzhifeng83@gmail.com>
This commit is contained in:
AntiTopQuark
2023-08-25 08:44:14 +00:00
committed by ob-robot
parent 56ee77a670
commit e0b1dda713
142 changed files with 15224 additions and 1314 deletions

View File

@ -231,6 +231,7 @@ int ObExternalTableAccessService::table_scan(
ObVTableScanParam &param,
ObNewRowIterator *&result)
{
ACTIVE_SESSION_FLAG_SETTER_GUARD(in_storage_read);
int ret = OB_SUCCESS;
ObExternalTableRowIterator* row_iter = NULL;
@ -263,6 +264,7 @@ int ObExternalTableAccessService::table_scan(
int ObExternalTableAccessService::table_rescan(ObVTableScanParam &param, ObNewRowIterator *result)
{
ACTIVE_SESSION_FLAG_SETTER_GUARD(in_storage_read);
int ret = OB_SUCCESS;
if (OB_ISNULL(result)) {
ret = OB_ERR_UNEXPECTED;
@ -283,6 +285,7 @@ int ObExternalTableAccessService::table_rescan(ObVTableScanParam &param, ObNewRo
int ObExternalTableAccessService::reuse_scan_iter(const bool switch_param, ObNewRowIterator *iter)
{
ACTIVE_SESSION_FLAG_SETTER_GUARD(in_storage_read);
UNUSED(switch_param);
iter->reset();
return OB_SUCCESS;
@ -290,6 +293,7 @@ int ObExternalTableAccessService::reuse_scan_iter(const bool switch_param, ObNew
int ObExternalTableAccessService::revert_scan_iter(ObNewRowIterator *iter)
{
ACTIVE_SESSION_FLAG_SETTER_GUARD(in_storage_read);
int ret = OB_SUCCESS;
if (OB_ISNULL(iter)) {
ret = OB_ERR_UNEXPECTED;