Support expr pi in mysql mode

This commit is contained in:
obdev
2021-07-19 15:39:14 +08:00
committed by wangzelin.wzl
parent ee48dc4c29
commit 0557600717
8 changed files with 130 additions and 11 deletions

View File

@ -425,6 +425,7 @@ typedef enum ObItemType {
// T_FUN_SYS_COT = 710, 710 has ben taken on master
T_FUN_SYS_QUARTER = 711,
T_FUN_SYS_BIT_LENGTH = 712,
T_FUN_SYS_PI = 713,
///< @note add new mysql only function type before this line
T_MYSQL_ONLY_SYS_MAX_OP = 800,

View File

@ -370,6 +370,7 @@ const char* get_type_name(int type)
// case T_FUN_SYS_COT : return "T_FUN_SYS_COT"; 710 has ben taken on master
case T_FUN_SYS_QUARTER : return "T_FUN_SYS_QUARTER";
case T_FUN_SYS_BIT_LENGTH : return "T_FUN_SYS_BIT_LENGTH";
case T_FUN_SYS_PI : return "T_FUN_SYS_PI";
case T_MYSQL_ONLY_SYS_MAX_OP : return "T_MYSQL_ONLY_SYS_MAX_OP";
case T_FUN_SYS_CONNECT_BY_PATH : return "T_FUN_SYS_CONNECT_BY_PATH";
case T_FUN_SYS_SYSTIMESTAMP : return "T_FUN_SYS_SYSTIMESTAMP";