You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tsfile.apache.org by "761417898 (via GitHub)" <gi...@apache.org> on 2024/07/05 09:39:05 UTC
[PR] fix get_cur_timestamp [tsfile]
761417898 opened a new pull request, #159:
URL: https://github.com/apache/tsfile/pull/159
The issue arose because the tv_sec (long) used to represent the seconds timestamp is stored as a 32-bit value under MinGW. When we calculate the milliseconds timestamp using tv_sec * 1000, an overflow occurs. This overflow problem was detected during unit testing. Coincidentally, the calculation of the seconds timestamp a few days ago did not result in an overflow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@tsfile.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix get_cur_timestamp [tsfile]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
HTHou merged PR #159:
URL: https://github.com/apache/tsfile/pull/159
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@tsfile.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org