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

@ -185,6 +185,7 @@
#include "ob_expr_to_multi_byte.h"
#include "ob_expr_convert_tz.h"
#include "ob_expr_degrees.h"
#include "ob_expr_weight_string.h"
namespace oceanbase {
using namespace common;
@ -716,7 +717,7 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = {
ObExprIsIpv4Compat::calc_is_ipv4_compat, /* 455 */
ObExprInetAton::calc_inet_aton, /* 456 */
ObExprInet6Ntoa::calc_inet6_ntoa, /* 457 */
NULL, // ObExprWeightString::eval_weight_string, /* 458 */
ObExprWeightString::eval_weight_string, /* 458 */
ObExprConvertTZ::eval_convert_tz, /* 459 */
ObExprCrc32::calc_crc32_expr /* 460 */
};