fix the lpad error caused by gdk parsing failure

This commit is contained in:
hwx65 2025-01-06 15:45:20 +00:00 committed by ob-robot
parent 4270b894e9
commit b2302b6544

View File

@ -1413,6 +1413,7 @@ int ObCharset::display_len(ObCollationType collation_type,
int bytes = cs->cset->mb_wc(cs, &wc, buf + char_pos, buf + buf_size);
if (bytes < 0) {
width = 1;
found = true;
} else {
int w = 0;