fix some test case

This commit is contained in:
obdev
2023-07-27 14:24:15 +00:00
committed by ob-robot
parent ee32feae70
commit 319e9f0a3c
9 changed files with 28 additions and 220 deletions

View File

@ -88,6 +88,12 @@ int ObTxTableGuard::init(ObTxTable *tx_table)
return OB_SUCCESS;
}
int ObReadInfoStruct::init_compat_version()
{
compat_version_ = READ_INFO_VERSION_V1;
return OB_SUCCESS;
}
} // end storage
namespace memtable
@ -188,10 +194,10 @@ public:
// iter_param_.rowkey_cnt_ = rowkey_cnt_;
iter_param_.tablet_id_ = tablet_id_;
iter_param_.table_id_ = tablet_id_.id();
read_info_.init(allocator_, 16000, rowkey_cnt_, false, columns_, nullptr/*storage_cols_index*/);
int ret = read_info_.init(allocator_, 16000, rowkey_cnt_, false, columns_, nullptr/*storage_cols_index*/);
iter_param_.read_info_ = &read_info_;
return OB_SUCCESS;
return ret;
}
void prepare_schema(share::schema::ObTableSchema &table_schema)