fix expr in sanity core cause of using hash calc when right params contain dynamic const
This commit is contained in:
@ -277,9 +277,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p
|
||||
int ObExprToOutfileRow::print_wchar_to_buf(char *buf, const int64_t buf_len, int64_t &pos,
|
||||
int32_t wchar, ObCollationType coll_type)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
int result_len = 0;
|
||||
if (OB_FAIL(ObCharset::wc_mb(coll_type, wchar, buf + pos, buf_len - pos, result_len))) {
|
||||
int ret = OB_SUCCESS;
|
||||
int result_len = 0;
|
||||
if (OB_FAIL(ObCharset::wc_mb(coll_type, wchar, buf + pos, buf_len - pos, result_len))) {
|
||||
LOG_WARN("failed to convert wc to mb");
|
||||
} else {
|
||||
pos += result_len;
|
||||
|
||||
Reference in New Issue
Block a user