Fix regexp function bug
This commit is contained in:
@ -104,8 +104,18 @@ public:
|
||||
uint32_t &flags);
|
||||
|
||||
static int check_need_utf8(ObRawExpr *expr, bool &is_nstring);
|
||||
|
||||
static inline bool is_binary_string(const ObExprResType &type) {
|
||||
return CS_TYPE_BINARY == type.get_collation_type() && ob_is_string_tc(type.get_type());
|
||||
}
|
||||
|
||||
static inline bool is_binary_compatible(const ObExprResType &type) {
|
||||
return CS_TYPE_BINARY == type.get_collation_type() || !ob_is_string_or_lob_type(type.get_type());
|
||||
}
|
||||
TO_STRING_KV(K_(inited));
|
||||
|
||||
static int check_binary_compatible(const ObExprResType *types, int64_t num);
|
||||
|
||||
private:
|
||||
int preprocess_pattern(common::ObExprStringBuf &string_buf,
|
||||
const common::ObString &origin_pattern,
|
||||
|
||||
Reference in New Issue
Block a user