Commit Graph

470 Commits

Author SHA1 Message Date
Alexey Milovidov
1d4701b0bc Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
Amos Bird
df5b735894 Better writeInt 2019-01-01 19:36:50 +08:00
Alexey Milovidov
3c82dd8809 Fixed exception safety of ThreadPool constructor [#CLICKHOUSE-4113] 2018-12-28 20:15:42 +03:00
Alexey Milovidov
701dfd83bf Addition to prev. revision #3926 2018-12-27 03:02:38 +03:00
Alexey Milovidov
2e323192a2 Addition to prev. revision #3926 2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be Allowed some UB under UBSan #3926 2018-12-27 02:55:09 +03:00
Alexey Milovidov
14e1dfa0ea Fixed UB #3926 2018-12-26 08:11:53 +03:00
Alexey Milovidov
ee953b4653 Fixed UB (requires performance testing) #3569 2018-12-26 03:31:51 +03:00
alexey-milovidov
add2c0a6fc
Merge branch 'master' into int-round-overflow 2018-12-24 15:50:13 +03:00
Alexey Milovidov
4f9630fd03 Fixed error #3913 2018-12-24 05:57:22 +03:00
Alexey Milovidov
80f155cfda Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2] 2018-12-24 02:12:30 +03:00
Alexey Milovidov
344d610ef0 DateLUT: simpler, safer and more efficient [#CLICKHOUSE-2] 2018-12-24 00:45:28 +03:00
Alexey Milovidov
8367c99720 DateLUT: simpler, safer and more efficient [#CLICKHOUSE-2] 2018-12-24 00:38:19 +03:00
Alexey Milovidov
86c2d0f329 Fixed buffer overflow in function addDays [#CLICKHOUSE-2] 2018-12-23 23:01:17 +03:00
alexey-milovidov
f85857d8ff
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
Additional functions for SQL compatibility
2018-12-20 20:51:05 +03:00
proller
c63ca042ba
Fix macos build (#3861) 2018-12-18 16:37:00 +03:00
Ivan Blinkov
362948e891 Introduce quarter interval kind as 3 months (in preparation for #3705) 2018-12-18 16:16:48 +03:00
alexey-milovidov
9eca78e764
Merge pull request #3819 from yandex/fix-tehran-time
Fix daylight saving time conversion if it was at midnight and clock was adjusted backwards.
2018-12-13 00:06:50 +03:00
Alexey Milovidov
bc165e4504 Merge branch 'master' of github.com:yandex/ClickHouse 2018-12-13 00:05:56 +03:00
alesapin
282b303a1c Link libglibc-compatibility to dbms at last position (#3816)
* Link libglibc-compatibility to dbms at last position

* Don't replace getrandom if it doesn't exists in libc
2018-12-12 15:51:40 +03:00
Alexey Milovidov
8b7a71d6c6 Attempt to fix #3220 2018-12-12 13:08:53 +03:00
Alexey Milovidov
43d922cc37 Fix for Tehran time #3220 2018-12-11 22:13:44 +03:00
Alexey Milovidov
ae1b748bdf Fixed global variable buffer read overflow [#CLICKHOUSE-4191] 2018-12-10 21:18:50 +03:00
alexey-milovidov
acb4feef26
Merge pull request #3760 from yandex/fix-database-ordinary-load-table-deadlock
Fix database ordinary load table deadlock
2018-12-07 07:13:58 +03:00
alexey-milovidov
7030b9be00
Update ThreadPool.h 2018-12-07 07:13:50 +03:00
proller
61328a2c9b
ARM build fixes (#3754) 2018-12-05 16:41:29 +03:00
Nikolai Kochetov
c6ad3a7189 Fix deadlock in DatabaseOrdinary in case of exception while loading tables. 2018-12-05 15:50:23 +03:00
Nikolai Kochetov
715d120ed9 Fix deadlock in DatabaseOrdinary in case of exception while loading tables. 2018-12-05 15:46:32 +03:00
Alexey Milovidov
141e9799e4 Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2] 2018-11-25 03:08:50 +03:00
proller
1d40c2c871 Better link and deps (#3631)
* try fix 1

* Better deps

* fix

* fix

* fix

* Update CMakeLists.txt

* Update CMakeLists.txt

* fix

* fix

* fix

* disable old

* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
proller
5678d1ed98 Build fixes (#3545)
* StorageSystemContributors clean

* Fix

* ARM fixes

* Fix arm compile

* fix

* Fix macos?

* Fix includes

* fix

* fix

* Try fix apple build part 1

* Fix identation

* Fix static libc++ in clang

* fix arm build

* better

* fix

* fix

*  better check-include
2018-11-10 23:09:07 +03:00
proller
71403c3ff8 StorageSystemContributors.sh debug (#3491)
* Sql fuzzy test

* wip

* wip

* wip

* wip

* wip

* Build fixes

* better

* bugs

* wip

* fix

* Fix test

* build fixes

* better

* wip

* fix test

* StorageSystemContributors.sh debug

* debug

* wip

* more

* Fix jemalloc include

* more
2018-11-01 17:07:14 +03:00
abyss7
d538f70679 Fix build and tests on Fedora (#3496)
* Fix some tests and build on Fedora 28

* Update contrib/ssl

* Try `sudo` first, then without `sudo`.
2018-10-30 17:05:44 +03:00
proller
ec11bef633
Build fixes (#3181) 2018-09-28 17:53:20 +03:00
Alexey Milovidov
5e3b507bd6 Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988] 2018-09-17 06:09:56 +03:00
Alexey Milovidov
55bc0bb46b Added function "toDayOfYear" [#CLICKHOUSE-3716] 2018-09-17 04:27:34 +03:00
Alexey Milovidov
adb0f65bee Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988] 2018-09-17 04:00:55 +03:00
Alexey Milovidov
4cf73d607c Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988] 2018-09-17 03:42:39 +03:00
Amos Bird
af369483a9 Simply Self.
> When the normal name of the template (i.e., the name from the enclosing scope, not the injected-class-name) is used, it always refers to the class template itself and not a specialization of the template

http://eel.is/c++draft/temp.local
2018-09-13 22:59:54 +08:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
even more Decimal
2018-09-03 07:19:33 +03:00
Alexey Milovidov
8cf76fb6a4 Fixed error in UBSan [#CLICKHOUSE-2] 2018-09-01 23:39:37 +03:00
chertus
29d8d07975 decimal improvements [CLICKHOUSE-3765] 2018-08-29 21:47:19 +03:00
proller
e30d93a0f2 Better debug helpers (#2983)
* Better debug helpers

* fix
2018-08-29 03:03:07 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
Some more Decimal
2018-08-27 19:59:26 +03:00
chertus
ee873c8e9f Merge branch 'master' into decimal 2018-08-27 19:18:48 +03:00
Alexey Milovidov
00774ad8c6 Suggested changes by Amos Bird #2954 2018-08-27 18:27:23 +03:00
proller
3acce3bff9 Build fix (#2944)
* Build fix

* Better sample build scripts

* zlib apple fix

* fix

* fix

* better so version

* SPLIT_SHARED -> LINK_MODE

* clean
2018-08-27 17:39:20 +03:00
Alexey Milovidov
74b0d9b6a7 Little better; added comment #2954 2018-08-26 02:59:53 +03:00
Amos Bird
9623e59870 Simplify read helpers.
Use similar APIs like https://en.cppreference.com/w/cpp/string/byte/strstr
2018-08-26 01:27:28 +08:00
chertus
2e65f4922f extract overflow funcs to arithmeticOverflow.h CLICKHOUSE-3906 2018-08-24 17:20:23 +03:00