Fix estimate row count of data inserted by current trx

This commit is contained in:
haitaoyang
2023-05-10 13:28:12 +00:00
committed by ob-robot
parent e23cc9ead4
commit cb1af1dc53
13 changed files with 45 additions and 19 deletions

View File

@ -5293,6 +5293,7 @@ int64_t ObEstPartArgElement::get_serialize_size(void) const
OB_UNIS_ADD_LEN(tablet_id_);
OB_UNIS_ADD_LEN(ls_id_);
OB_UNIS_ADD_LEN(tenant_id_);
OB_UNIS_ADD_LEN(tx_id_);
return len;
}
@ -5309,6 +5310,7 @@ int ObEstPartArgElement::serialize(char *buf,
OB_UNIS_ENCODE(tablet_id_);
OB_UNIS_ENCODE(ls_id_);
OB_UNIS_ENCODE(tenant_id_);
OB_UNIS_ENCODE(tx_id_);
return ret;
}
@ -5330,6 +5332,7 @@ int ObEstPartArgElement::deserialize(common::ObIAllocator &allocator,
OB_UNIS_DECODE(tablet_id_);
OB_UNIS_DECODE(ls_id_);
OB_UNIS_DECODE(tenant_id_);
OB_UNIS_DECODE(tx_id_);
return ret;
}