[scn] fix failure of mittest after refresh feature scn

This commit is contained in:
obdev
2022-11-28 01:46:42 +00:00
committed by ob-robot
parent 49a02f3304
commit 54b64a7263
1898 changed files with 255804 additions and 280809 deletions

View File

@ -615,6 +615,8 @@ public:
if (field.is_null_
|| (0 == field.len_ && lib::is_oracle_mode())) {
obj.set_null();
} else if (0 == field.len_ && !is_string_type_column && lib::is_mysql_mode()) {
obj.set_int(0);
} else {
obj.set_varchar(field.ptr_, field.len_);
obj.set_collation_type(cs_type);