提交 eb87ebc8 编写于 作者: G Ganlin Zhao

[TD-11220]<feature>(query): time related functions

上级 ac5724c8
......@@ -669,7 +669,7 @@ SStrToken tStrGetToken(char* str, int32_t* i, bool isPrevOptr) {
//for now(),today() function used in insert clause
if ((t0.type == TK_NOW || t0.type == TK_TODAY) &&
str[t0.n] == '(' && str[t0.n + 1] == ')') {
str[*i + t0.n] == '(' && str[*i + t0.n + 1] == ')') {
t0.n += 2;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册