[CP] [to #48317576] fix get ddl chinese comments are garbled

This commit is contained in:
obdev 2023-04-11 13:04:59 +08:00 committed by ob-robot
parent 31a2b999d2
commit 060c4c575f

View File

@ -5980,6 +5980,9 @@ int ObSPIService::convert_obj(ObPLExecCtx *ctx,
for (int i = 0; OB_SUCC(ret) && i < obj_array.count(); ++i) {
ObObj &obj = obj_array.at(i);
tmp_obj.reset();
if (obj.is_clob()) {
obj.set_collation_type(result_types[i].get_collation_type());
}
obj.set_collation_level(result_types[i].get_collation_level());
LOG_DEBUG("column convert", K(obj.get_meta()), K(result_types[i].get_meta_type()),
K(current_type.at(i)), K(result_types[i].get_accuracy()));