[to #49903027] fix name resolve for sql udt & pl variables

This commit is contained in:
obdev
2023-07-13 08:12:18 +00:00
committed by ob-robot
parent 7002e5975a
commit 6c17bae597
2 changed files with 16 additions and 12 deletions

View File

@ -165,6 +165,20 @@ public:
{
return accuracy_.get_length_semantics();
}
OB_INLINE uint64_t get_expr_udt_id() const
{
uint64_t udt_id = OB_INVALID_ID;
if (is_user_defined_sql_type()) {
if (is_xml_sql_type()) {
udt_id = T_OBJ_XML;
} else {
// NOTICE: process new sql type id in here.
}
} else {
udt_id = get_udt_id();
}
return udt_id;
}
OB_INLINE uint64_t get_udt_id() const
{
return accuracy_.get_accuracy();