Commit Graph

944 Commits

Author SHA1 Message Date
Alexey Milovidov
28b46655db Added support for MSan [#CLICKHOUSE-2] 2018-03-03 23:37:12 +03:00
Alexey Milovidov
7077405e8a Added support for MSan [#CLICKHOUSE-2] 2018-03-03 22:49:21 +03:00
Marsel Arduanov
c4138f6486
Correct MacOS version detection
First version of MacOS Sierra have Darwin version 16.0.0, not 16.1.0
Wiki info https://ru.wikipedia.org/wiki/Darwin#Хронология_версий
2018-03-03 20:05:21 +05:00
proller
d6a1f8470f CLICKHOUSE-3553 Rebuild loggers on every config change (#1973)
* Macos test fix

* Fix freebsd build

* CLICKHOUSE-3553 Rebuild loggers on every config change

* rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/

* CLICKHOUSE-3553 Set new level to all loggers on reload

* Dont use hash

* Update BaseDaemon.h
2018-02-28 23:34:25 +03:00
Alexey Milovidov
eca5d9d5cb Miscellaneous [#CLICKHOUSE-2] 2018-02-28 21:16:16 +03:00
alexey-milovidov
924cc3451f
Merge pull request #1955 from yandex/CLICKHOUSE-3606
Added consistent hashing functions
2018-02-27 10:52:41 +03:00
Vitaliy Lyudvichenko
cf5c378ed7 Add optimized version of sumbur hash, reduced buckets range. [#CLICKHOUSE-3606] 2018-02-27 03:01:51 +03:00
Vitaliy Lyudvichenko
120530e44c Add requested changes. [#CLICKHOUSE-3606] 2018-02-26 15:14:20 +03:00
proller
c12d93a873 Allow build without rt library (#1963)
* Allow build without rt library

* fix
2018-02-26 03:19:42 +03:00
Alexey Milovidov
c86fd31097 Addition to prev. revision [#CLICKHOUSE-2] 2018-02-25 05:23:04 +03:00
Vitaliy Lyudvichenko
077f413a0d Added consistent hashing functions. [#CLICKHOUSE-3606] 2018-02-24 00:22:52 +03:00
Alexey Milovidov
dd52ea8343 Fixed typos [#CLICKHOUSE-3] 2018-02-22 23:44:10 +03:00
Alexey Milovidov
f36dfe42a5 Miscellaneous [#CLICKHOUSE-2] 2018-02-21 22:35:10 +03:00
Alexey Milovidov
9e1638e1dd Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 20:09:18 +03:00
proller
db8ea9205c
LibraryDictionarySource: api v2 with strings (#1915)
* LibraryDictionarySource: Support numeric types, initial support for strings
2018-02-16 20:12:22 +03:00
Alexey Zatelepin
87b72b8e39 rename musl_exp10 -> preciseExp10 for coding style compatibility 2018-02-16 17:51:14 +03:00
Alexey Zatelepin
8fdb68ef79 add musl_ prefix to exp10 functions to avoid confusion with symbols from the system libm 2018-02-16 17:01:50 +03:00
proller
10803568ad
Macos shared build fix (#1906) 2018-02-15 00:01:40 +03:00
proller
19f71fbd45 Fix logging to current dir 2018-02-14 23:43:08 +03:00
proller
82d74f5ab3 Allow redefine server config via command line: clickhouse-server -- --logger.level=information (#1811)
* Aloow redefine server config via command line: clickhouse-server -- --logger.level=information

* style

* fix

* BaseDaemon: Simpler createDirectory

* Allow --key value

* Update BaseDaemon.cpp

* Update BaseDaemon.cpp
2018-02-08 22:12:37 +03:00
proller
05b203574a Fix freebsd unbundled build 2018-01-23 03:09:09 +03:00
proller
c430af5fb8 Freebsd fixes 2018-01-21 02:23:19 +03:00
proller
a2c3eae315 Builder fixes. Fix unbundled cctz 2018-01-20 00:33:48 +03:00
proller
91ca67d987 Fix logger, return systemd service (#1798)
* Fix test 281 under asan

* Cmake fixes

* Revert "Disable usage of systemd (assumed that temporarily) [#CLICKHOUSE-2]"

This reverts commit f0aa21bca6.

* Fixing init scripts and logging

* Fix logger

* Fxi

* fix

* fix

* fix

* Update clickhouse-server-base.postinst

* Update clickhouse-server.cron.d

* Update clickhouse-server-base.postinst

* Update clickhouse-server-base.postinst

* fix

* fix

* space

* better message
2018-01-19 21:54:40 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
90399b851d Cmake fixes related to #1786 2018-01-18 21:26:36 +03:00
Alexey Milovidov
0e818311e0 Clarifications [#CLICKHOUSE-2] 2018-01-17 21:10:38 +03:00
Alexey Milovidov
0101cd24d6 Translated comments [#CLICKHOUSE-2] 2018-01-17 21:06:39 +03:00
Alexey Milovidov
9ad18c5019 Whitespaces [#CLICKHOUSE-2] 2018-01-17 19:39:56 +03:00
proller
d97b2edc7c Make separate libs Common/ZooKeeper and Common/ConfigProcessor (#1749)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge
2018-01-15 22:07:47 +03:00
proller
07931cad69 Fix debug build 2018-01-15 14:59:00 +03:00
Alexey Milovidov
b9e62ddb2d Better #1665 2018-01-13 21:01:31 +03:00
Alexey Milovidov
81cdd72de9 Added comment [#CLICKHOUSE-2]. 2018-01-13 03:40:41 +03:00
proller
b026eb7797 Use submodule contrib/capnproto, remove include_directories (#1746)
* Add submodule contrib/capnproto

* Use contrib/capnproto, remove include_directories

* Fix include

* Clean

* Fix werror

* Update doc

* Fix

* Final fix

* Fxi
2018-01-11 21:39:52 +03:00
alexey-milovidov
603e6dd640 Update glibc-compatibility.c 2018-01-11 16:25:17 +03:00
proller
a66d47d0c6 glib compatibility fix for asan and tsan: __shm_directory 2018-01-11 16:25:17 +03:00
proller
70e35d0bcc Build fixes (#1718)
* Embedded compiler fixes

* common lib not needed for clang and lld

* Fix pthread link

* Fix shared build

* Arm fixes 1

* arm fix

* Unused fix

* Build fixes

* release --pbuilder

* release pbuilder fix

* FORCE_PBUILDER_CREATE=1 release

* release: Auto use clang with sanitizers

* Fix build without poco data odbc lib. zlib arm build fix.

* Fix freebsd build and build without mysql

* Tests: Dont eat my cpu!

* Test me
2017-12-29 18:48:20 +03:00
proller
7a813002aa Build fixes 2017-12-28 15:58:39 +03:00
Alexey Milovidov
798299ba89 Merge branch 'aavdonkin-master' 2017-12-28 07:33:55 +03:00
Alexey Milovidov
104b09604a Merging [#CLICKHOUSE-3114] 2017-12-28 00:45:05 +03:00
proller
68850012bd Embedded compiler fixes 2017-12-27 23:07:16 +03:00
proller
da1233fe3f Fix missing includes 2017-12-26 22:02:00 +03:00
proller
3c54be8d5b Add hostname_in_path=true option to garaphite config (#1701)
* Add hostname_in_path=true option to garaphite config

* fix style

* Update config.xml
2017-12-25 23:36:24 +03:00
Kirill Shvakov
af400da8eb add toStartOfFifteenMinutes function 2017-12-22 13:04:24 +02:00
Alexey Milovidov
0972d7586a Added support for toQuarter, toRelativeQuarterNum functions. Enabled toRelativeHour/Minute/Second for Date arguments. Made function 'now' case insensitive. Added function 'dateDiff' that is needed for ODBC driver [#CLICKHOUSE-2]. 2017-12-22 04:54:29 +03:00
Alexey Milovidov
74f191dfd3 Introduced intExp functions; using it where appropriate; make them available in SQL [#CLICKHOUSE-3]. 2017-12-22 02:46:34 +03:00
Alexey Milovidov
fca5d5f2c7 Use better implementation for exp10 [#CLICKHOUSE-2]. 2017-12-22 02:00:32 +03:00
Amos Bird
e7af27c4e0 Better iostream debugger with adl.
This patch fixes some issues related to DUMP() debugging. Opening std and
placing all Core related classed inside DB namespace enable proper adl support.
It also adds better sfinae guards to Field constructor which somehow breaks <<
overloads.
2017-12-20 21:44:42 +03:00
Alexey Milovidov
99a19de80e Translated comment [#CLICKHOUSE-2]. 2017-12-19 22:32:13 +03:00
Alexey Milovidov
7dfd3a2c3a Translated comment [#CLICKHOUSE-2]. 2017-12-19 22:30:25 +03:00