[FEAT MERGE] 4.2 add trans_debug_info for 4377

Co-authored-by: Handora <qcdsr970209@gmail.com>
This commit is contained in:
yishenglanlingzui
2023-05-06 06:08:35 +00:00
committed by ob-robot
parent 711f4d5cd0
commit 9e328378c8
63 changed files with 1013 additions and 169 deletions

View File

@ -205,7 +205,12 @@ int ObRowFuse::fuse_row(const blocksstable::ObDatumRow &former,
final_result = false;
bool first_val = (0 == result.count_ || result.row_flag_.is_not_exist());
int64_t column_cnt = 0;
// add by zimiao, When result.trans_info_ is nullptr,
// it means that the current row does not have any transaction information,
// so set the first transaction information obtained by the current row
if (OB_ISNULL(result.trans_info_)) {
result.trans_info_ = former.trans_info_;
}
if (first_val) {
nop_pos.reset();
result.row_flag_ = former.row_flag_;