[diagnosis] add placeholder for diagnosis

This commit is contained in:
doubleMocha
2025-03-11 10:46:09 +00:00
committed by ob-robot
parent cd0741a358
commit be9c6071df
3 changed files with 9 additions and 2 deletions

View File

@ -117,7 +117,8 @@ ObPhysicalPlanCtx::ObPhysicalPlanCtx(common::ObIAllocator &allocator)
total_memstore_read_row_count_(0),
total_ssstore_read_row_count_(0),
is_direct_insert_plan_(false),
check_pdml_affected_rows_(false)
check_pdml_affected_rows_(false),
is_diagnosis_(false)
{
}
@ -789,6 +790,7 @@ OB_DEF_SERIALIZE(ObPhysicalPlanCtx)
OB_UNIS_ENCODE(last_refresh_scns_);
OB_UNIS_ENCODE(is_direct_insert_plan_);
OB_UNIS_ENCODE(check_pdml_affected_rows_);
OB_UNIS_ENCODE(is_diagnosis_);
return ret;
}
@ -890,6 +892,7 @@ OB_DEF_SERIALIZE_SIZE(ObPhysicalPlanCtx)
OB_UNIS_ADD_LEN(last_refresh_scns_);
OB_UNIS_ADD_LEN(is_direct_insert_plan_);
OB_UNIS_ADD_LEN(check_pdml_affected_rows_);
OB_UNIS_ADD_LEN(is_diagnosis_);
return len;
}
@ -1016,6 +1019,7 @@ OB_DEF_DESERIALIZE(ObPhysicalPlanCtx)
OB_UNIS_DECODE(last_refresh_scns_);
OB_UNIS_DECODE(is_direct_insert_plan_);
OB_UNIS_DECODE(check_pdml_affected_rows_);
OB_UNIS_DECODE(is_diagnosis_);
return ret;
}