fix the lpad error caused by gdk parsing failure
This commit is contained in:
parent
4270b894e9
commit
b2302b6544
1
deps/oblib/src/lib/charset/ob_charset.cpp
vendored
1
deps/oblib/src/lib/charset/ob_charset.cpp
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user