support expr WEIGHT_STRING() in mysql mode. master->3_1_opensource_release

This commit is contained in:
AntiTopQuark
2021-10-20 11:33:37 +08:00
committed by wangzelin.wzl
parent 0d3a41c33d
commit 4ca9eabca4
18 changed files with 28604 additions and 27442 deletions

View File

@ -852,6 +852,7 @@ size_t ObCharset::sortkey(ObCollationType collation_type, const char* str, int64
OB_MAX_WEIGHT,
reinterpret_cast<const unsigned char*>(str),
str_len,
0,
&is_valid_unicode_tmp);
is_valid_unicode = is_valid_unicode_tmp;
}