support last_day in mysql mode
This commit is contained in:
@ -171,6 +171,8 @@
|
||||
#include "ob_expr_radians.h"
|
||||
#include "ob_expr_pi.h"
|
||||
#include "ob_expr_maketime.h"
|
||||
#include "ob_expr_makedate.h"
|
||||
#include "ob_expr_time_format.h"
|
||||
#include "ob_expr_to_blob.h"
|
||||
#include "ob_expr_to_outfile_row.h"
|
||||
#include "ob_expr_format.h"
|
||||
@ -651,7 +653,16 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = {
|
||||
ObExprToMultiByte::calc_to_multi_byte, /* 397 */
|
||||
NULL, // ObExprDllUdf::eval_dll_udf, /* 398 */
|
||||
NULL, // ObExprRawtonhex::calc_rawtonhex_expr, /* 399 */
|
||||
ObExprPi::eval_pi /* 400 */
|
||||
ObExprPi::eval_pi, /* 400 */
|
||||
NULL, //eval_question_mark_func, /* 401 */
|
||||
ObExprUtcTime::eval_utc_time, /* 402 */
|
||||
ObExprUtcDate::eval_utc_date, /* 403 */
|
||||
ObExprGetFormat::calc_get_format, /* 404 */
|
||||
NULL, //ObExprCollectionConstruct::eval_collection_construct, /* 405 */
|
||||
NULL, //ObExprObjAccess::eval_obj_access, /* 406 */
|
||||
ObExprTimeFormat::calc_time_format, /* 407 */
|
||||
ObExprMakedate::calc_makedate, /* 408 */
|
||||
ObExprPeriodAdd::calc_periodadd, /* 409 */
|
||||
};
|
||||
|
||||
REG_SER_FUNC_ARRAY(OB_SFA_SQL_EXPR_EVAL, g_expr_eval_functions, ARRAYSIZEOF(g_expr_eval_functions));
|
||||
|
||||
Reference in New Issue
Block a user