From a49c73826b5d9a854131cbdafa83f63c0c88e424 Mon Sep 17 00:00:00 2001 From: obdev Date: Fri, 2 Feb 2024 11:12:17 +0000 Subject: [PATCH] Placeholder for GIS expr: _ST_GEOHASH and _ST_MAKEPOINT --- src/objit/include/objit/common/ob_item_type.h | 2 ++ src/sql/engine/expr/ob_expr_eval_functions.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/objit/include/objit/common/ob_item_type.h b/src/objit/include/objit/common/ob_item_type.h index 7a9181512a..d690da0eea 100755 --- a/src/objit/include/objit/common/ob_item_type.h +++ b/src/objit/include/objit/common/ob_item_type.h @@ -847,6 +847,8 @@ typedef enum ObItemType T_FUN_SYS_XML_CONCAT = 1732, T_FUN_SYS_XML_FOREST = 1733, T_FUN_SYS_XML_EXISTSNODE = 1734, + T_FUN_SYS_PRIV_ST_GEOHASH = 1735, + T_FUN_SYS_PRIV_ST_MAKEPOINT = 1736, ///< @note add new oracle only function type before this line T_FUN_SYS_TABLET_AUTOINC_NEXTVAL = 1801, // add only for heap table diff --git a/src/sql/engine/expr/ob_expr_eval_functions.cpp b/src/sql/engine/expr/ob_expr_eval_functions.cpp index 6cac058302..61630f490e 100644 --- a/src/sql/engine/expr/ob_expr_eval_functions.cpp +++ b/src/sql/engine/expr/ob_expr_eval_functions.cpp @@ -1120,6 +1120,8 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = { ObExprIs::json_is_false, /* 676 */ NULL, //ObExprCurrentRole::eval_current_role /* 677 */ ObExprMod::mod_decimalint, /* 678 */ + NULL, // ObExprPrivSTGeoHash::eval_priv_st_geohash, /* 679 */ + NULL, // ObExprPrivSTMakePoint::eval_priv_st_makepoint, /* 680 */ }; static ObExpr::EvalBatchFunc g_expr_eval_batch_functions[] = {