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
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