提交 206a1c3d 编写于 作者: G Ganlin Zhao

Revert "fix(query): fix "n","y" time unit parsing does not return error"

This reverts commit 3dbc5d8a.
上级 95bd570c
......@@ -679,7 +679,7 @@ int32_t parseNatualDuration(const char* token, int32_t tokenLen, int64_t* durati
*unit = token[tokenLen - 1];
if (*unit == 'n' || *unit == 'y') {
return -1;
return 0;
}
return getDuration(*duration, *unit, duration, timePrecision);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册