[BUGFIX]fix signal 7 core in arm

This commit is contained in:
obdev
2023-02-24 16:48:52 +00:00
committed by ob-robot
parent 52f75c9e5d
commit 52837dac08
3 changed files with 13 additions and 9 deletions

View File

@ -3237,7 +3237,7 @@ CAST_FUNC_NAME(text, string)
if (OB_FAIL(instr_iter.init(0, ctx.exec_ctx_.get_my_session(),
is_same_charset ? reinterpret_cast<ObIAllocator *>(&res_alloc) : &temp_allocator))) {
LOG_WARN("init lob str iter failed ", K(ret), K(in_type));
} else if (OB_FAIL(instr_iter.get_full_data(data))) {
} else if (OB_FAIL(instr_iter.get_full_data(data, &temp_allocator))) {
LOG_WARN("init lob str iter failed ", K(ret), K(in_type));
} else if (lib::is_oracle_mode()
&& ob_is_clob(in_type, in_cs_type)