fix bugs of INET expr

This commit is contained in:
xf0
2021-10-13 20:33:10 +08:00
committed by wangzelin.wzl
parent 72122fbe1c
commit 490ce0a9df
5 changed files with 10 additions and 11 deletions

View File

@ -468,7 +468,7 @@ inline int ObExprInet6Ntoa::calc_result_type1(
ret = OB_ERR_UNEXPECTED;
LOG_WARN("session is null",K(ret));
} else {
type.set_collation_type(session->get_nls_collation());
type.set_collation_type(get_default_collation_type(type.get_type(), *type_ctx.get_session()));
}
return ret;
}