Commit Graph

280 Commits

Author SHA1 Message Date
Nikita Lapkov
5f585948c1 review fix. stop TraceCollector gracefully 2019-02-09 21:40:10 +00:00
Nikita Lapkov
5c54bbb750 write traces to trace_log 2019-02-03 21:30:45 +00:00
Alexey Milovidov
7f8ac2d26b Fixed bad function name 2019-02-02 03:25:12 +03:00
proller
343b31af66 More link with Threads::Threads 2019-01-28 21:21:20 +03:00
Alexey Milovidov
4e3d9a0f15 Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool 2019-01-28 14:20:24 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
Alexey Milovidov
65f8e4d4a8 Merge branch 'master' into global-thread-pool 2019-01-25 16:33:50 +03:00
Alexey Milovidov
f1bb9fc05a Removed useless code 2019-01-20 00:05:20 +03:00
Alexey Milovidov
f40e0fcd8e Revert "Attempt to implemnt global thread pool #4018"
This reverts commit 510b15540c.
2019-01-15 21:57:42 +03:00
Alexey Milovidov
a6bf5a7e28 Addition to prev. revision 2019-01-13 20:49:21 +03:00
Alexey Milovidov
abcd5a2a49 Attempt to implemnt global thread pool #4018 2019-01-11 22:12:36 +03:00
Alexey Milovidov
43774a38b8 Attempt to implemnt global thread pool #4018 2019-01-11 20:20:06 +03:00
Alexey Milovidov
9031be381a Attempt to implemnt global thread pool #4018 2019-01-11 19:59:15 +03:00
Alexey Milovidov
510b15540c Attempt to implemnt global thread pool #4018 2019-01-11 19:58:43 +03:00
Alexey Milovidov
6cfa68d9da Investigation of performance degradation of jemalloc 2019-01-10 18:01:22 +03:00
Alexey Milovidov
7fc85d1ff0 Investigation of performance degradation of jemalloc 2019-01-10 16:26:57 +03:00
Alexey Milovidov
b4a310b22e Investigation of performance degradation of jemalloc 2019-01-10 16:22:37 +03:00
Alexey Milovidov
2fb94dabae Merge branch 'master' of github.com:yandex/ClickHouse into libcxx-as-submodule 2018-12-29 01:55:44 +03:00
Alexey Milovidov
3c82dd8809 Fixed exception safety of ThreadPool constructor [#CLICKHOUSE-4113] 2018-12-28 20:15:42 +03:00
Alexey Milovidov
4c3b16390a Preparations for MSan [#CLICKHOUSE-2] 2018-12-28 08:08:44 +03:00
Alexey Milovidov
ee953b4653 Fixed UB (requires performance testing) #3569 2018-12-26 03:31:51 +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
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
Nikolai Kochetov
c6ad3a7189 Fix deadlock in DatabaseOrdinary in case of exception while loading tables. 2018-12-05 15:50:23 +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
328c1387c0 Removed Poco::NumberFormatter [#CLICKHOUSE-2] 2018-08-20 22:35:04 +03:00
proller
f477942c66 Cmake: test for liblld 2018-07-21 03:11:56 +03:00
Alexey Milovidov
c8f5443257 Registered test [#CLICKHOUSE-2] 2018-07-18 22:39:42 +03:00
Alexey Milovidov
0ead1facb7 Added test [#CLICKHOUSE-2] 2018-07-18 20:12:12 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes (#2488)
CONTRIB-254
2018-06-19 21:09:09 +03:00
proller
68ba523b23 Compile and doc fixes (#2410)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap

* termcap fix

* Better llvm version detect

* fix

* Debian postinst fix
Tests: use /usr/local if exists

* Compile and doc fixes

* fix

* fix

* fix

* macos fixes

* fix

* wip

* Update demangle.h

* Update demangle.cpp
2018-05-25 21:13:48 +03:00
Vitaliy Lyudvichenko
863b105975 Fixed build on Clang. [#CLICKHOUSE-2] 2018-05-23 21:29:35 +03:00
alexey-milovidov
42a0e1e0c7
Update SetTerminalEcho.cpp 2018-05-21 22:53:46 +03:00
proller
051395a761 clickhouse-client: option --ask-password for interactively ask for credentials #1044 2018-05-21 20:27:18 +03:00
Alexey Milovidov
3ffa269c0c Fixed build [#CLICKHOUSE-2] 2018-05-17 03:26:29 +03:00
proller
f9cd6a09e6 sql: initial EXTRACT(... FROM ...) support (#2196)
* start

* wip

* wip

* wip

* wip

* wip

* Fix clickhouse-server.postinst

* clean

* wip

* clean

* clean

* clean

* wip

* clean

* Update dump_variable.cpp
2018-04-13 22:35:08 +03:00
proller
c26b3bdef1
Fix split shared build; fix build without system odbc libs (#2191)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc
2018-04-09 06:52:39 -07:00
Alexey Milovidov
e655cb0bff Better debug helpers [#CLICKHOUSE-2] 2018-04-06 07:46:18 +03:00
proller
caf83a650e libs: compiling with msvc2017 (#1996)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix

* Build fixes

* Build fixes

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add bat

* no zookeeper in dbms

* update boost

* fixes

* fixes

* fix

* fix

* fix

* fix

* try fix

* try fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Better

* fix

* dh verbose

* fix

* dh verbose

* fix

* clean

* Update LocalDate.h

* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
proller
fd4c0403ba Tests compile fix 2018-03-14 19:38:42 +03:00
Vitaliy Lyudvichenko
56bfb05ebb Fix insane DateTime in system.parts. [#CLICKHOUSE-3] 2018-03-14 19:00:02 +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 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
05b203574a Fix freebsd unbundled build 2018-01-23 03:09:09 +03:00
proller
a2c3eae315 Builder fixes. Fix unbundled cctz 2018-01-20 00:33:48 +03:00
Alexey Milovidov
b9e62ddb2d Better #1665 2018-01-13 21:01:31 +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
proller
741117a390
Fix freebsd build. Little cmake fixes. (#1634) 2017-12-13 22:07:12 +03:00
Alexey Milovidov
655565466c Merge remote-tracking branch 'origin/master' into better-date-parsing-formatting 2017-11-18 02:45:17 +03:00
Silviu Caragea
f7181b4c68 Fix clang error on osx regression from a2b8ae3100 2017-11-17 14:37:17 +03:00
Alexey Milovidov
a2b8ae3100 Fixed tiny error [#CLICKHOUSE-2]. 2017-11-16 23:17:57 +03:00
proller
fa65bdcf48 Fix realloc on freebsd and macos (#1494) 2017-11-16 22:17:09 +03:00
Alexey Milovidov
040b4bd47e Attempt to improve performance of parsing Dates [#CLICKHOUSE-2]. 2017-11-16 01:58:50 +03:00
Alexey Milovidov
ba435d3d4c Fixed build [#CLICKHOUSE-2]. 2017-10-30 02:10:22 +03:00
Alexey Milovidov
7ecc63fe71 Functions for interval arithmetic on DateTime and Date: development [#CLICKHOUSE-2]. 2017-10-29 07:18:48 +03:00
Alexey Milovidov
7bdbd71d7c Additions to prev. revision [#CLICKHOUSE-2099]. 2017-10-29 04:13:28 +03:00
Alexey Milovidov
4236bcbfa2 Fixed year 2038 problem. Added support for timezones with fractional offset from UTC. [#CLICKHOUSE-2099] [#CLICKHOUSE-3392]. 2017-10-29 03:51:40 +03:00
Alexey Milovidov
7c99e50a2f Fixed build [#CLICKHOUSE-2]. 2017-10-24 21:28:20 +03:00
Alexey Milovidov
10392d5452 Fixed build on Mac OS X [#CLICKHOUSE-2]. 2017-10-14 02:12:06 +03:00
proller
23263a1acc Fix apple build 2017-08-03 16:57:47 +03:00
proller
4db8d09de9 Reorganize includes. part 1 (#921)
* Make libunwind optional. Allow use custom libcctz

* fix

* Fix

* fix

* Update BaseDaemon.cpp

* Update CMakeLists.txt

* Reorganize includes. part 1

* Update dbms_include.cmake

* Reorganize includes. part 2

* Reorganize includes. part 3

* dbms/src/Common/ThreadPool -> libs/libcommon

* Reorganize includes. part 4

* Fix print_include_directories

* Update thread_creation_latency.cpp

* Update StringRef.h
2017-06-23 23:22:35 +03:00
Alexey Milovidov
b845b181a5 Miscellaneous [#CLICKHOUSE-2]. 2017-06-22 22:51:38 +03:00
proller
70d9fb06b4 PerformanceTest: use getMultiple*FromConfig, fix debug helpers (#915)
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers

* Missing file
2017-06-22 21:56:40 +03:00
proller
8ef51bf19b Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers (#905)
* Fix missing includes

* ComplexKeyCacheDictionary: Move includes to .cpp

* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers

* Multiplatform memory size getter

* Requested changes

* Requested changes

* Requested changes

* fix

* Requested changes
2017-06-22 18:57:37 +03:00
proller
72ccc69212 Debian: simpler package (#662)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix

* move files from tools/etc to debian

* dont generate control

* version

* ok.

* wip

* Cmake: dont touch CMAKE_INSTALL_PREFIX

* wip

* works!

* clean

* okay

* like old

* wip

* wip

* okay

* clickhouse-server-base-dbg

* clean

* clickhouse-server-dbg

* Debian: Remove daemons

* Update rules

* add source/format

* control clean

* add watch

* clean

* clean

* temp fix build

* clean

* docs

* fake make_control

* fix

* testme

* testme

* add metrika package

* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
310736cd7e Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0 Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//' 2017-03-31 19:00:30 +03:00
Vitaliy Lyudvichenko
2ab25099cd Move boost::tests to Google Tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Alexey Zatelepin
1ce0300c51 better detection of local timezone id [#CLICKHOUSE-2852] 2017-03-23 20:13:04 +04:00
proller
930ac5b2ce move ClickHouseRevision to dbms 2017-03-16 13:51:41 +04:00
proller
28ed324702 add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs 2017-03-16 13:51:41 +04:00
proller
f8d2f19280 Fix odbc include, clang-format fixes, misc (#484)
* Cmake: fix fallback to internal libs if no external found

* wip

* style

* fix
2017-02-13 17:59:34 +04:00
Pavel Kartavyy
b61bd0b96b Merge commit '84e4fb00bd0373058bfc091d2d19a8034df7cc93' into update-clickhouse
Conflicts:
	metrica/src/ClickHouse/libs/libdaemon/src/BaseDaemon.cpp
2017-02-06 17:57:47 +03:00
proller
d59f34f052 Fix generating release version. 2017-02-01 18:10:20 +04:00
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
79a7e893c7 system.build_options: move generated data to cpp, dont regenerate every compile (#423)
* system.build_options: move generated data to cpp, dont regenerate every compile

* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1.

* fix
2017-01-31 22:03:56 +04:00
Alexey Milovidov
149d1ead71 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 16:04:36 +03:00
Alexey Milovidov
f46e39fa97 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:45:05 +03:00
Alexey Milovidov
56cc8ca948 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:31:15 +03:00
Alexey Milovidov
4bb7b58e10 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:30:08 +03:00
Alexey Milovidov
f22a2303c7 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:03:28 +03:00
Alexey Milovidov
f41480f1cd More simple time zones implementation [#CLICKHOUSE-2765]. 2017-01-22 12:27:51 +03:00
Alexey Milovidov
8de0740291 Using cctz library [#CLICKHOUSE-2]. 2017-01-21 05:32:02 +03:00
proller
22797da2a6 Move generate version from git tool to source (#351)
* wip

* fix

* wip

* Auto version update to [54146]

* Auto version update to [54147]

* Auto version update to [54148]

* teeeeest

* Auto version update to [54149]

* wip

* Auto version update to [54154]

* wip

* wip

* wip
2017-01-19 03:28:23 +04:00
proller
e634bc05a9 move git fetch from libs/libcommon/src/get_revision_lib.sh to release_lib.sh 2017-01-16 17:50:06 +03:00
Alexey Milovidov
ad6507f9df Preparation [#METR-23490]. 2016-12-27 09:36:53 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
proller
d270053c3c Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd. 2016-12-21 23:04:27 +03:00
Alexey Milovidov
c564b505b6 Fixed build on clang with debug mode [#METR-2944]. 2016-12-12 09:18:28 +03:00
Vladimir Chebotarev
c1dd1467d6 libcommon: Build was fixed. [#METRIQA-600] 2016-12-08 16:22:59 +04:00
Vladimir Chebotarev
b72ecc383d libcommon: Support for invoking from /tmp. [#METRIQA-600] 2016-12-08 15:12:54 +04:00
Vladimir Chebotarev
93c805c7f5 libcommon: Extract revision from source directory. [#METR-21516] 2016-12-07 01:53:32 +03:00
Vladimir Chebotarev
eb552f2943 cmake: Improved copy_headers.sh script, minor fixes. [#METR-21516] 2016-12-06 21:04:10 +03:00
Vladimir Chebotarev
8e1a6aaf3e cmake: Boost, OpenSSL into find_package(). [#METR-23701] 2016-12-06 16:20:32 +03:00