This commit is contained in:
plum-lihui 2019-07-19 15:35:57 +08:00
parent 7c744dabd6
commit 12b3ea1fb4
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ int tsParseTime(char* value, int32_t valuelen, int64_t* time, char** next, char*
char* pTokenEnd = *next;
tscGetToken(pTokenEnd, &token, &tokenlen);
if (tokenlen == 0) {
if (tokenlen == 0 && strlen(value) == 0) {
INVALID_SQL_RET_MSG(error, "missing time stamp");
}