Update ttime.c
This commit is contained in:
parent
2dc92188df
commit
6a09e40b4d
|
@ -1905,7 +1905,7 @@ int32_t taosChar2Ts(const char* format, SArray** formats, const char* tsStr, int
|
||||||
snprintf(errMsg, errMsgLen, "timestamp format error: %s -> %s", tsStr, format);
|
snprintf(errMsg, errMsgLen, "timestamp format error: %s -> %s", tsStr, format);
|
||||||
code = TSDB_CODE_FUNC_TO_TIMESTAMP_FAILED_TS_ERR;
|
code = TSDB_CODE_FUNC_TO_TIMESTAMP_FAILED_TS_ERR;
|
||||||
} else if (code == -3) {
|
} else if (code == -3) {
|
||||||
snprintf(errMsg, errMsgLen, "not supported currently");
|
snprintf(errMsg, errMsgLen, "timestamp format not supported");
|
||||||
code = TSDB_CODE_FUNC_TO_TIMESTAMP_FAILED_NOT_SUPPORTED;
|
code = TSDB_CODE_FUNC_TO_TIMESTAMP_FAILED_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
return code;
|
return code;
|
||||||
|
|
Loading…
Reference in New Issue