[td-3315]<fix>: enable insert timestamp in the format of string '1970-1-1 8:0:0' and other unix timestamp.

This commit is contained in:
Haojun Liao 2021-03-16 15:03:33 +08:00
parent 61db2e2217
commit c5d19cbf40
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ static int32_t tsCheckTimestamp(STableDataBlocks *pDataBlocks, const char *start
TSKEY k = *(TSKEY *)start;
if (k == 0) {
if (k == INT64_MIN) {
if (pDataBlocks->tsSource == TSDB_USE_CLI_TS) {
return -1;
} else if (pDataBlocks->tsSource == -1) {