提交 99c971a4 编写于 作者: wafwerar's avatar wafwerar

[TS-819]<fix>(query): win negative timestamp err.

上级 ffc9d8f6
...@@ -448,7 +448,6 @@ static char* formatTimestamp(char* buf, int64_t val, int precision) { ...@@ -448,7 +448,6 @@ static char* formatTimestamp(char* buf, int64_t val, int precision) {
tt = 0; tt = 0;
} }
*/ */
#ifdef WINDOWS #ifdef WINDOWS
if (tt < 0) { if (tt < 0) {
SYSTEMTIME a={1970,1,5,1,0,0,0,0}; // SYSTEMTIME struct support 1601-01-01. set 1970 to compatible with Epoch time. SYSTEMTIME a={1970,1,5,1,0,0,0,0}; // SYSTEMTIME struct support 1601-01-01. set 1970 to compatible with Epoch time.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册