[CP] [to #45843079] fix serval bugs found by external customers

This commit is contained in:
obdev
2022-11-03 08:37:05 +00:00
committed by wangzelin.wzl
parent 265296217f
commit 0feea46b52
2 changed files with 6 additions and 2 deletions

View File

@ -2171,7 +2171,11 @@ int ObMPStmtExecute::parse_basic_param_value(ObIAllocator &allocator,
if (is_oracle_mode() && !is_complex_element) {
param.set_char(dst);
} else {
param.set_varchar(dst);
if (is_complex_element && dst.length()== 0) {
param.set_null();
} else {
param.set_varchar(dst);
}
}
}
}