[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:
parent
61db2e2217
commit
c5d19cbf40
|
@ -394,7 +394,7 @@ static int32_t tsCheckTimestamp(STableDataBlocks *pDataBlocks, const char *start
|
||||||
|
|
||||||
TSKEY k = *(TSKEY *)start;
|
TSKEY k = *(TSKEY *)start;
|
||||||
|
|
||||||
if (k == 0) {
|
if (k == INT64_MIN) {
|
||||||
if (pDataBlocks->tsSource == TSDB_USE_CLI_TS) {
|
if (pDataBlocks->tsSource == TSDB_USE_CLI_TS) {
|
||||||
return -1;
|
return -1;
|
||||||
} else if (pDataBlocks->tsSource == -1) {
|
} else if (pDataBlocks->tsSource == -1) {
|
||||||
|
|
Loading…
Reference in New Issue