fix some charset bugs
This commit is contained in:
@ -829,9 +829,6 @@ struct ObNonInstrModeMatcher
|
||||
if (OB_UNLIKELY(text_val.length() <= 0 && pattern_val.length() <= 0)) {
|
||||
// empty string
|
||||
res = 1;
|
||||
} else if (OB_UNLIKELY(CS_TYPE_UTF8MB4_BIN != coll_type && escape_wc == static_cast<int32_t>('%'))) {
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "escape %");
|
||||
} else {
|
||||
bool b = ObCharset::wildcmp(coll_type, text_val, pattern_val, escape_wc,
|
||||
static_cast<int32_t>('_'), static_cast<int32_t>('%'));
|
||||
|
||||
Reference in New Issue
Block a user