fix conflicts

This commit is contained in:
Shengliang Guan 2021-03-25 02:59:50 +00:00
parent ea3cde9136
commit c98285e05c
2 changed files with 2 additions and 2 deletions

View File

@ -417,7 +417,7 @@ static char* formatTimestamp(char* buf, int64_t val, int precision) {
#ifdef WINDOWS
if (tt < 0) tt = 0;
#endif
if (tt <= 0 && ms != 0) {
if (tt <= 0 && ms < 0) {
tt--;
if (precision == TSDB_TIME_PRECISION_MICRO) {
ms += 1000000;