fix soundex calc result collation type unstable bug

This commit is contained in:
sdc 2024-04-26 04:09:05 +00:00 committed by ob-robot
parent 3da8529a26
commit ffe586e950

View File

@ -101,6 +101,7 @@ int ObExprSoundex::calc_result_type1(
res_type = ObVarcharType;
res_length = OB_MAX_BINARY_LENGTH;
res_cs_type = type_ctx.get_coll_type();
raw_expr->set_extra(static_cast<uint64_t>(res_cs_type));
}
}
if (OB_SUCC(ret)) {