Nikolai Kochetov
c39c965612
Merge pull request #19962 from keen-wolf/timezoneOffset
...
Implement the timezoneOffset function
2021-02-03 20:37:34 +03:00
keenwolf
9beb7689cc
add comments and update test cases.
2021-02-02 23:35:45 +08:00
keenwolf
d251807ea4
add function timezoneOffset
2021-02-02 11:01:20 +08:00
Azat Khuzhin
f4a4d33c2d
Suppress UBsan reports in addYears()
...
https://clickhouse-test-reports.s3.yandex.net/19528/1c364b6ee3a44487529954cf2792e615f7de0f82/fuzzer_ubsan/report.html#fail1
2021-01-26 01:12:40 +03:00
alexey-milovidov
77af612bc5
Merge pull request #19466 from azat/UBsan-report-fixes
...
UBsan report fixes (arraySlice, addMinutes/addHours/addWeeks/addDays, sumWithOverflow(Decimal))
2021-01-24 22:27:15 +03:00
Azat Khuzhin
cb30a02540
Fix UBsan report in addDays(INT64_MAX)
...
https://clickhouse-test-reports.s3.yandex.net/19466/df53438a66ee95de790b60d35f36eca986590027/fuzzer_ubsan/report.html#fail1
2021-01-24 13:51:05 +03:00
Alexey Milovidov
505898747e
Fix buffer overflow in DateLUT
2021-01-23 01:58:41 +03:00
Alexey Milovidov
4968f1733e
Annotations for DateLUT
2021-01-21 15:01:24 +03:00
hexiaoting
a2e5f7693a
Fix condition error
2020-12-30 11:20:38 +08:00
hexiaoting
ccaea5fa42
Make Date > 2106-02-07 overflow as 0
2020-12-28 19:09:41 +08:00
Alexey Milovidov
0cbbe153cd
Fix typos, the last 1%
2020-08-08 04:21:04 +03:00
alexey-milovidov
da32e62daa
Fix comment (tnx Pavel Belikov) ( #12957 )
2020-07-28 11:58:26 +03:00
Alexey Milovidov
360bf61639
Fix error
2020-07-13 03:45:18 +03:00
Alexey Milovidov
f2fe419ca9
Saturate negative unix timestamp to zero instead of overflow
2020-07-13 01:48:22 +03:00
Vasily Nemkov
776ce03777
Fixed DateLUTImpl constructors to avoid accidental copying
...
Fixed one case of copying DateLUTImpl
2020-05-11 10:42:47 +03:00
Alexey Milovidov
08d8c350b7
Fix overflow at beginning of unix epoch for fractional timezones #9335
2020-04-26 19:22:44 +03:00
Alexey Milovidov
09dedaeac3
Fix error
2020-04-20 10:49:00 +03:00
Alexey Milovidov
48d6eb719a
Fix error
2020-04-20 10:41:03 +03:00
Alexey Milovidov
860c4a27bd
Fix for weird timezones
2020-04-20 10:10:25 +03:00
Alexey Milovidov
860e9092f1
Fixed another inconsistency in partition names
2020-04-13 01:25:41 +03:00
Ivan
571d0d541c
Improve CCTZ contrib ( #9687 )
...
* common/Types.h → common/types.h
Also split Core/Defines.h and merge with common/likely.h
* Improve cctz contrib
* Fix ALWAYS_INLINE and unbundled build
* Update Dockerfile from master
* Fix test for unbundled library
2020-03-19 13:38:34 +03:00
Alexey Milovidov
c76ff369bb
Fix check-style #9161
2020-02-17 22:09:56 +03:00
Ivan Lezhankin
2d44fa59b5
libs/ → base/
2020-02-14 17:48:30 +03:00