[CP] [OBKV] Fix core when print lob object
This commit is contained in:

committed by
ob-robot

parent
aeec518877
commit
c3fc3ec7f7
@ -587,7 +587,8 @@ int ObTableCtx::adjust_column_type(const ObTableColumnInfo &column_info, ObObj &
|
|||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
// add lob header when is lob storage
|
// add lob header when is lob storage
|
||||||
if (is_lob_storage(obj.get_type()) && cur_cluster_version_ >= CLUSTER_VERSION_4_1_0_0) {
|
if (is_lob_storage(obj.get_type()) && cur_cluster_version_ >= CLUSTER_VERSION_4_1_0_0) {
|
||||||
if (OB_FAIL(convert_lob(ctx_allocator_, obj))) {
|
// use the processor's allocator to ensure the lifecycle of lob object
|
||||||
|
if (OB_FAIL(convert_lob(allocator_, obj))) {
|
||||||
LOG_WARN("fail to convert lob", K(ret), K(obj));
|
LOG_WARN("fail to convert lob", K(ret), K(obj));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user