[CP] add set_collation_level after set_string
This commit is contained in:

committed by
wangzelin.wzl

parent
71eeadd77e
commit
20623f9901
@ -638,6 +638,7 @@ int ObResolverUtils::resolve_const(const ParseNode* node, const stmt::StmtType s
|
||||
if (OB_SUCC(ret)) {
|
||||
val.set_string(val.get_type(), buf, static_cast<int32_t>(result_len));
|
||||
val.set_collation_type(target_collation);
|
||||
val.set_collation_level(CS_LEVEL_COERCIBLE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user