[issue #102]
This commit is contained in:
parent
7c744dabd6
commit
12b3ea1fb4
|
@ -98,7 +98,8 @@ int tsParseTime(char* value, int32_t valuelen, int64_t* time, char** next, char*
|
||||||
|
|
||||||
char* pTokenEnd = *next;
|
char* pTokenEnd = *next;
|
||||||
tscGetToken(pTokenEnd, &token, &tokenlen);
|
tscGetToken(pTokenEnd, &token, &tokenlen);
|
||||||
if (tokenlen == 0) {
|
|
||||||
|
if (tokenlen == 0 && strlen(value) == 0) {
|
||||||
INVALID_SQL_RET_MSG(error, "missing time stamp");
|
INVALID_SQL_RET_MSG(error, "missing time stamp");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue