[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:
@ -231,6 +231,7 @@ int ObExternalTableAccessService::table_scan(
|
||||
ObVTableScanParam ¶m,
|
||||
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 ¶m, 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 ¶m, 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;
|
||||
|
||||
Reference in New Issue
Block a user