fix: timestamp function can be null propagate
This commit is contained in:
parent
0731d2b929
commit
8480c382d6
@ -2879,6 +2879,7 @@ inline bool is_valid_sys_func(const ObItemType type)
|
||||
T_FUN_SYS_LEAST,
|
||||
T_FUN_SYS_GREATEST,
|
||||
T_FUN_SYS_CAST,
|
||||
T_FUN_SYS_TIMESTAMP,
|
||||
};
|
||||
for (int64_t i = 0; !ret && i < sizeof(WHITE_LIST) / sizeof(ObItemType); ++i) {
|
||||
ret = (type == WHITE_LIST[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user