Add normal_date_expr to the rewriting phase to solve the problem of comparing illegal date constants with date columns.
This commit is contained in:
@ -333,6 +333,7 @@
|
||||
#include "ob_expr_prefix_pattern.h"
|
||||
#include "ob_expr_initcap.h"
|
||||
#include "ob_expr_temp_table_ssid.h"
|
||||
#include "ob_expr_align_date4cmp.h"
|
||||
|
||||
namespace oceanbase
|
||||
{
|
||||
@ -1036,6 +1037,7 @@ static ObExpr::EvalFunc g_expr_eval_functions[] = {
|
||||
ObExprJoinFilter::eval_in_filter, /* 605 */
|
||||
ObExprCurrentScn::eval_current_scn, /* 606 */
|
||||
ObExprTempTableSSID::calc_temp_table_ssid, /* 607 */
|
||||
ObExprAlignDate4Cmp::eval_align_date4cmp, /* 608 */
|
||||
};
|
||||
|
||||
static ObExpr::EvalBatchFunc g_expr_eval_batch_functions[] = {
|
||||
|
||||
Reference in New Issue
Block a user