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

@ -196,4 +196,4 @@ void shellCheck(TAOS *con, SShellArguments *args) {
int64_t end = taosGetTimestampMs();
fprintf(stdout, "total %d tables checked, failed:%d, time spent %.2f seconds\n", checkedNum, errorNum,
(end - start) / 1000.0);
}
}

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;