Commit Graph

320 Commits

Author SHA1 Message Date
Nikita Lapkov
b8585a5630 refactor and comments 2019-07-05 13:48:47 +00:00
Nikita Lapkov
0f579860f7 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-07-04 22:13:51 +00:00
Alexey Milovidov
6b9df067d8 Merge branch 'master' into libcxx-as-submodule 2019-07-03 22:34:58 +03:00
Nikita Lapkov
47e1537b20 remove meaningless check (#5839) 2019-07-02 19:59:34 +03:00
alexey-milovidov
dc59b245f1
Merge pull request #5828 from yandex/date-lut-fix-uct
Fix wrong resolution of time zone name.
2019-07-02 12:49:48 +03:00
Alexey Milovidov
97a502fcb6 Merge branch 'utc-fallback-no-tzdata' into date-lut-fix-uct 2019-07-02 03:12:50 +03:00
Alexey Milovidov
5e893c0da0 Fixed error with preference of UCT instead of UTC 2019-07-02 03:12:00 +03:00
Alexey Milovidov
ddd1a10b58 Fallback to UTC if no tzdata 2019-07-02 01:36:05 +03:00
Nikita Lapkov
5286ab97fd refactor and comments 2019-07-01 22:11:11 +00:00
Nikita Lapkov
9641d058d0 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-07-01 21:11:26 +00:00
Alexey Milovidov
735eb8eeca Removed `emacs' style of quotes 2019-07-01 22:55:35 +03:00
Nikita Lapkov
f8d2b5effd introduce Backtrace class 2019-06-28 18:06:38 +00:00
Nikita Lapkov
7cff36fbfc Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-06-26 11:46:04 +00:00
proller
09f3d68f6e Use logging in clickhouse-local. Use config options in command line in clickhouse-client (#5540)
* Try fix macos server run

* Doc macos build
 # Please enter the commit message for your changes. Lines starting

* CLICKHOUSE-3957 start wip

* tests wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* Making logger for clickhouse-local

* fixes

* wip

* wip

* wip

* wip

* clean

*      cf

* wip

* fix

* Update CMakeLists.txt

* Update argsToConfig.h

* Update argsToConfig.cpp

* Update ExtendedLogChannel.h

* Update OwnPatternFormatter.cpp
2019-06-14 17:00:37 +03:00
Orivej Desh
5ec179377a DEVTOOLS-5170 Delete Y_IGNORE markers (#5533)
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
Nikita Lapkov
6c75e609d9 fix memory leak 2019-05-30 14:50:50 +00:00
Nikita Lapkov
8f36af7760 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-05-30 10:33:33 +00:00
Nikita Lapkov
3b54fde8a7 replace StackTrace with Backtrace 2019-05-30 10:30:24 +00:00
Ivan Lezhankin
a390428cd8 Use contents of env TZ as the name for timezone 2019-05-28 14:33:21 +03:00
Nikita Lapkov
419a37c7d8 fix late define of _LIBUNWIND_NO_HEAP 2019-05-22 00:09:13 +00:00
Nikita Lapkov
9ceff4035a last hope 2019-05-21 22:42:44 +00:00
Nikita Lapkov
1dd87261ae move SleepFor* to libcommon 2019-05-19 09:14:23 +00:00
Nikita Lapkov
ab69128e1d introduce Backtrace class 2019-05-14 22:15:23 +00:00
Nikita Lapkov
6dbe205b55 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-05-12 16:16:30 +00:00
proller
1b020827f0 Move Poco/Ext/ThreadNumber.h to common/getThreadNumber.h (#5016) 2019-04-17 17:53:54 +03:00
Nikita Lapkov
870e3ba5d4 remove unused check 2019-04-06 10:17:41 +00:00
Nikita Lapkov
fbdf2c3525 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-04-06 06:58:40 +00:00
Nikita Lapkov
023744b1fb check if cursor is on signal frame 2019-04-06 06:38:19 +00:00
alexey-milovidov
14b8e64992
Disable usage of "mremap" when compiled with Thread Sanitizer. (#4859)
* Disable mremap under Thread Sanitizer

* Disable mremap under Thread Sanitizer

* Disable mremap under Thread Sanitizer
2019-03-30 13:47:25 +03:00
Alexey Milovidov
7e6623316e Fixed build 2019-03-12 22:20:32 +03:00
Alexey Milovidov
880cbbb632 Merge branch 'master' into libcxx-as-submodule 2019-03-11 04:03:13 +03:00
Nikita Lapkov
2429449fb6 remove USE_UNWIND from header 2019-03-05 20:42:02 +00:00
Nikita Lapkov
70b5aaafa6 remove circular dependency 2019-03-04 13:45:37 +00:00
Nikita Lapkov
6367e15e4e add cpu timer. add timer type to log. refactor 2019-03-04 13:03:32 +00:00
Nikita Lapkov
d645050daf add missing include 2019-03-01 15:47:58 +00:00
Nikita Lapkov
ce4e48d6f4 Merge branch 'master' into query-poor-mans-profiler 2019-03-01 14:22:38 +00:00
proller
23d70b2e04
Add Y_IGNORE (#4521) 2019-02-27 19:52:08 +03:00
proller
211ec436c5
Build fixes (#4516) 2019-02-27 15:52:24 +03:00
Nikita Lapkov
2a0af15951 add symbolizeTrace function 2019-02-10 03:10:07 +00:00
Alexey Milovidov
eb39f6b653 Cleanup #4240 2019-02-10 01:38:26 +03:00
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