Commit Graph

1137 Commits

Author SHA1 Message Date
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
84d617c50e
Merge pull request #3808 from yandex/add_getrandom_from_musl
Add getrandom from musl
2018-12-10 22:32:34 +03:00
Alexey Milovidov
ae1b748bdf Fixed global variable buffer read overflow [#CLICKHOUSE-4191] 2018-12-10 21:18:50 +03:00
alesapin
182adf1e40 Spaces instead of tab 2018-12-10 21:17:35 +03:00
alesapin
ca9d6d83b5 Add getrandom.c from musl 2018-12-10 21:16:15 +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
proller
2221638ade Fix presence of both libc++ and -static-libstdc++ link flags (#3706)
* Fix precence of both libc++ and -static-libstdc++ link flags

* cmake: NO_WERROR for ARCH_ARM

* Try fix test link

* revert

* Update CMakeLists.txt
2018-12-01 01:30:34 +03:00
Alexey Milovidov
f59bf174d7 Fixed build of "widechar_width" library on ARM [#CLICKHOUSE-2] 2018-11-30 16:37:36 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ (#2443) 2018-11-27 19:11:46 +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
alexey-milovidov
2c2d75cceb
Don't allow exceptions without code (#3645)
* Don't allow exceptions without code #3633

* Don't allow exceptions without code #3633
2018-11-23 00:19:58 +03:00
Alexey Milovidov
ab5d76fc42 Fixed error introduced in #3553 and prevent it happening 2018-11-21 23:56:37 +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
Alexey Milovidov
06187e9a98 Comments [#CLICKHOUSE-2] 2018-11-21 20:27:13 +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
alexey-milovidov
b1db9ec23c
Merge pull request #3436 from amosbird/master
Flexible fields assignment
2018-11-01 20:22:28 +03:00
proller
f86d1a7034 CONTRIB-254 Arcadia fixes (#3475)
* Macos: set ENABLE_EMBEDDED_COMPILER=0 by default (because contrib/llvm temporary broken under macos)

* \n

* arcadia fix

* fix arcadia link

* wip

* wip

* wip

* fix

* wip

* wip

* fix

* try use users from server dir

* Revert "try use users from server dir"

This reverts commit 79b2c6fd9c.

* Fix logging

* fix

* Update ZooKeeperImpl.h
2018-11-01 20:07:20 +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
Amos Bird
3cf2177268 Flexible fields assignment
Field f;

before:

f = Int64(-42);

after:

f = -42;
2018-10-24 08:47:33 +08:00
Amos Bird
dc8b3a7791 Fix build without jemalloc
```
libs/libglibc-compatibility/libglibc-compatibility.a(glibc-compatibility.c.o): In function `explicit_bzero':
/home/amos/git/chorigin/build-dev/../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):/home/amos/git/chorigin/build-dev/../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
collect2: error: ld returned 1 exit status
```
2018-10-22 23:34:15 +08:00
avsharapov
11da23f153 Fix typo in readme 2018-10-13 15:28:08 +03:00
alexey-milovidov
147a2a13c2
Merge pull request #3257 from amosbird/master
Correct wcwidth computation for pretty outputs.
2018-10-02 16:23:41 +03:00
Amos Bird
7df73088ab Correct wcwidth computation for pretty outputs. 2018-10-02 10:06:18 +08:00
proller
49bb0652a8 enable_local_infile 2018-10-01 19:01:09 +03:00
proller
ca03cd6606 Sync with arcadia 2018-10-01 18:43:48 +03:00
proller
ec11bef633
Build fixes (#3181) 2018-09-28 17:53:20 +03:00
Alexey Milovidov
5c386ea3cd Always write query_id field in log #3203 2018-09-24 21:44:40 +03:00
cekc
76c79929c3
fix typo in BaseDaemon doc
daemon has --errorlog-file cmd option, not --error-file
2018-09-21 16:42:32 +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