1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Merge pull request #970 from LinuxJedi/fix-warnings

Fix warnings found in DEBUG combined build
This commit is contained in:
Roman Nozdrin
2019-12-10 19:26:20 +02:00
committed by GitHub
20 changed files with 62 additions and 41 deletions

View File

@ -338,9 +338,9 @@ bool isTimestampValid ( uint64_t second, uint64_t microsecond )
// 0x7FFFFFFF. So enforce the same restriction here.
// TODO: We however store the seconds portion of the timestamp in
// 44 bits, so change this limit when the server supports higher values.
if ( second >= MIN_TIMESTAMP_VALUE && second <= MAX_TIMESTAMP_VALUE )
if ( second <= MAX_TIMESTAMP_VALUE )
{
if ( microsecond >= 0 && microsecond <= 999999 )
if ( microsecond <= 999999 )
{
valid = true;
}