Nikita Lapkov
2a131185b0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-06-28 18:20:23 +00:00
Nikita Lapkov
f8d2b5effd
introduce Backtrace class
2019-06-28 18:06:38 +00:00
proller
c8469ab4ba
Build fixes. no submodules ( #5792 )
2019-06-28 21:06:09 +03:00
Alexander Kuzmenkov
0116c10e41
Require explicit type in unalignedStore
...
This is a follow-up to PR #5786 , which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
Alexey Milovidov
c8d5162ec2
Compatibility with gcc-9 #5717
2019-06-27 17:28:48 +03:00
Nikita Lapkov
92309eed3e
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-06-27 14:07:44 +00:00
Nikita Lapkov
7cff36fbfc
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-06-26 11:46:04 +00:00
Ivan
cdbfa3034c
Fix compilation when we don't have readline
...
Otherwise we get warning about extra semi-colon
2019-06-24 18:02:25 +03:00
Andy Yang
4b6efaa4b9
Merge branch 'master' into custom_week_functions
...
update last code
2019-06-24 09:53:38 +08:00
Andy Yang
ab8d2058c6
Fix code styles
2019-06-19 09:25:17 +08:00
proller
1cb0ba5854
Cmake: better USE_STATIC_LIBRARIES and SPLIT_SHARED_LIBRARIES handling
2019-06-18 20:10:25 +03:00
Andy Yang
e2216555dd
Fix build error which g++-8
2019-06-18 19:29:28 +08:00
Andy Yang
5db11932d7
Fix code styles
2019-06-18 18:08:12 +08:00
Andy Yang
6085fce8d7
some review fixes and add new function toStartOfWeek
2019-06-18 17:48:07 +08:00
proller
2a6c7cda0b
CLICKHOUSE-4179 Fix function arrayEnumerateUniqRanked ( #5622 )
...
* wip
* fix
* clean
2019-06-15 22:14:17 +03:00
proller
fe60f96612
Fix comments from #5540
2019-06-14 18:49:38 +03:00
Alexey Milovidov
6971eef584
Cleanups for #5540
2019-06-14 17:05:59 +03: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
Andy Yang
7c15a32ef3
Merge branch 'master' into custom_week_functions
...
Update the latest code
2019-06-10 09:40:43 +08:00
Andy Yang
365d85e1f9
add week(), yearweek()
2019-06-09 23:19:15 +08: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
Andy Yang
ff7bcd127e
Merge branch 'master' into custom_week_functions
...
update laster code
2019-05-31 23:54:54 +08: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
alexey-milovidov
6cdb4e2aeb
Merge pull request #5443 from abyss7/fix-default-timezone
...
Use contents of environment variable TZ as the name for timezone
2019-05-28 20:11:34 +03:00
Ivan Lezhankin
a390428cd8
Use contents of env TZ as the name for timezone
2019-05-28 14:33:21 +03:00
Георгий Кондратьев
707ca25007
Delete port/memrchr.h
...
Its last user was deleted in 141e9799e4
2019-05-27 23:41:23 +00:00
Nikita Lapkov
06d370dee2
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-25 16:23:08 +00:00
alexey-milovidov
61790d7417
Update Pool.cpp
2019-05-25 14:12:25 +03:00
Clément Rodriguez
e358fc8995
Fixe compilation
2019-05-24 16:44:32 +02:00
Nikita Lapkov
30c31bc85a
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-24 13:28:42 +00:00
Clément Rodriguez
c4c99c80a1
Make the connection closure parameterized in dictionary.xml
2019-05-23 15:55:00 +02:00
Clément Rodriguez
7b40d37212
Close MySQL connections after usage in MySQLDictionarySource
2019-05-23 15:09:07 +02:00
proller
d6a90b6079
Build fixes ( #5368 )
2019-05-22 13:16:16 +03:00
Nikita Lapkov
419a37c7d8
fix late define of _LIBUNWIND_NO_HEAP
2019-05-22 00:09:13 +00:00
Nikita Lapkov
382beefdb8
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-21 22:52:57 +00:00
Nikita Lapkov
9ceff4035a
last hope
2019-05-21 22:42:44 +00:00
Nikita Lapkov
b12db6e0e8
fix data race on trace_pipe close
2019-05-19 20:22:44 +00:00
Nikita Lapkov
1dd87261ae
move SleepFor* to libcommon
2019-05-19 09:14:23 +00:00
Nikita Lapkov
483f68b728
refactor. introduce SleepFor* functions
2019-05-19 00:25:45 +00:00
proller
51ca4cbaa4
Build fixes ( #5278 )
2019-05-15 20:19:39 +03:00
Nikita Lapkov
ab69128e1d
introduce Backtrace class
2019-05-14 22:15:23 +00:00
Nikita Lapkov
aaa3156f81
Merge branch 'update_libunwind' into query-poor-mans-profiler
2019-05-12 16:22:36 +00:00
Nikita Lapkov
6dbe205b55
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-12 16:16:30 +00:00
Nikita Lapkov
9cd108b6d6
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-05-12 13:40:17 +00:00
Andy Yang
92b0c9a668
Add document and test sql
2019-05-07 19:27:20 +08:00
Andy Yang
3d583dafea
toCustomWeek, toCustomYear, toStartOfCustomYear functions
2019-05-06 20:14:45 +08:00
proller
0e0a0f6ee6
CLICKHOUSE-4511 Fix forcerestart with systemd
2019-05-06 15:12:18 +03:00
Andy Yang
eb4d85e964
toCustomWeek, toCustomYear, toStartOfCustomYear functions
2019-05-05 15:54:51 +08:00
proller
c6d0e095e0
Prepare cmake for new contrib/poco ( #5062 )
2019-04-25 00:33:04 +03:00
proller
ba4687e110
Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) ( #5091 )
2019-04-24 12:06:28 +03:00
proller
29c3433322
Freebsd build fixes ( #5083 )
2019-04-23 15:51:27 +03:00
Alexey Milovidov
58d7d1e451
Resolved some of PVS-Studio warnings
2019-04-22 19:07:09 +03:00
Nikita Lapkov
26c4df9d9c
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-04-21 09:24:48 +00:00
proller
525726a5e2
Remove pocoext ( #5036 )
2019-04-17 20:36:58 +03:00
proller
1b020827f0
Move Poco/Ext/ThreadNumber.h to common/getThreadNumber.h ( #5016 )
2019-04-17 17:53:54 +03:00
Danila Kutenin
e346758cea
Merge pull request #4995 from danlark1/master
...
LFAlloc added to clickhouse to allocate MarkCache and UncompressedCache data in different ways
2019-04-14 16:00:35 +03:00
Danila Kutenin
622b2c8472
Enable LFAlloc for MarkCache and UncompressedCache
2019-04-13 15:07:43 +03:00
Danila Kutenin
7f230cc134
LFAlloc added to clickhouse
2019-04-12 17:10:42 +03:00
Alexey Milovidov
1610bcca89
Fixed wrong toISOWeek result for 1970 year
2019-04-12 02:21:52 +03:00
Alexey Milovidov
a9b47a62ba
Merge branch 'update_libunwind' of https://github.com/laplab/ClickHouse into laplab-update_libunwind
2019-04-11 22:36:36 +03:00
proller
79d2f1f034
libglibc-compatibility : do not use sys/random.h on old systems (skip getentropy.c) ( #4984 )
2019-04-11 22:28:29 +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
proller
5b1bde2e80
CLICKHOUSE-4387 Add (official build) to version of yandex builds
2019-04-03 17:06:59 +03: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
Nikita Lapkov
59748db2ff
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-03-29 10:50:26 +00:00
proller
cbffebc22c
Print with version
2019-03-28 16:08:38 +03:00
proller
ccd5db786c
Merge remote-tracking branch 'upstream/master' into fix26
2019-03-28 13:39:03 +03:00
Nikita Lapkov
10942b2ef1
switch to llvm libunwind
2019-03-27 20:37:39 +00:00
proller
0fff8a785b
Add libglibc-compatibility/musl/getentropy.c
2019-03-27 19:12:47 +03:00
proller
7d1be03a16
CLICKHOUSE-4386 Version in exceptions
2019-03-27 18:46:46 +03:00
Nikita Lapkov
4a4ff8d5bf
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-03-23 18:45:22 +00:00
proller
d6d83d4a5c
Allow build without ssl ( #4525 ) ( #4750 )
2019-03-22 14:18:24 +03:00
Alexey Milovidov
312148a40d
Merge branch 'master' into libcxx-as-submodule
2019-03-14 06:30:00 +03:00
proller
cf8001b6a9
Fix includes ( #4673 )
2019-03-13 16:58:04 +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
Alexey Milovidov
c3938b2977
Addition to prev. revision
2019-03-11 01:28:32 +03:00
Alexey Milovidov
d9138ef8ba
Removed obsolete targets
2019-03-11 00:24:27 +03:00
alexey-milovidov
030a4eb3c6
Merge branch 'master' into fix-glibc-compatibility-2
2019-03-10 19:31:18 +03:00
alexey-milovidov
6db73152d2
Hardening debug build (experimental) ( #4632 )
...
* Hardening debug build: more granular memory mappings and ASLR; add memory protection for mark cache and index
* Addition to prev. revision
* Addition to prev. revision
* Addition to prev. revision
2019-03-10 06:16:51 +03:00
Nikita Lapkov
1ea971ddd2
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-03-10 01:56:41 +00:00
Konstantin Podshumok
feb3afcf09
fix wrong instructions
2019-03-07 19:38:39 +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
Alexey Milovidov
99797c0172
Fixed build with AVX enabled #4508
2019-02-27 23:04:35 +03: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
Alexey Milovidov
2c8535e2ec
Make the code less weird
2019-02-26 16:13:00 +03:00
Alexey Milovidov
eca885f754
Make the code less weird
2019-02-26 16:11:19 +03:00
Alexey Milovidov
d6db735e9d
Simplifications
2019-02-25 06:19:18 +03:00
Alexey Milovidov
eb5376a0a8
Addition to prev. revision.
2019-02-25 04:26:37 +03:00
Alexey Milovidov
280f5a71c3
Addition to prev. revision.
2019-02-25 04:22:54 +03:00
Alexey Milovidov
0b7c5ab061
Decrypted code because it was impossible to read.
2019-02-25 04:05:05 +03:00
Alexey Milovidov
ee24678f5d
Fixed bad code (but the bug still exists)
2019-02-25 02:28:52 +03:00
Andrey Urusov
7a5597aeb3
mysqlxx::Pool is full checking exception fixed
2019-02-23 18:10:14 +03:00
proller
596f5ac0e5
Allow to skip setting of core_dump.size_limit, warning instead of throw if limit set fail.
2019-02-21 21:51:43 +03:00
proller
e20c77e4c6
Add parquet support. Fixes, tests, ...
2019-02-19 23:51:44 +03:00
proller
263e69e861
Build fixes (FreeBSD port) ( #4397 )
2019-02-15 14:46:07 +03:00
Alexey Milovidov
62eb65774a
Added suppression for libunwind
2019-02-13 16:42:01 +03:00
alexey-milovidov
4e12697e1c
Merge pull request #4304 from vitlibar/add-function-to-start-of-interval
...
Add time function toStartOfInterval().
2019-02-11 17:21:48 +03:00
Vitaly Baranov
0dd1dc242a
Add time function toStartOfInterval().
2019-02-11 14:59:17 +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
b8d78807fe
Merge remote-tracking branch 'parent/master' into query-poor-mans-profiler
2019-02-09 21:45:34 +00:00
Nikita Lapkov
5f585948c1
review fix. stop TraceCollector gracefully
2019-02-09 21:40:10 +00:00
Alexey Milovidov
f6298b6428
Removed garbage
2019-02-09 23:57:17 +03:00
Vitaly Baranov
7cbdb17f5b
Add function toStartOfTenMinutes().
2019-02-07 01:50:04 +03:00
Alexey Milovidov
5fcc02bab2
Fixed bad code for printing query_id in text logs
2019-02-04 18:39:08 +03:00
Nikita Lapkov
5c54bbb750
write traces to trace_log
2019-02-03 21:30:45 +00:00
Nikita Lapkov
89582cfef2
Merge branch 'master' into query-poor-mans-profiler
2019-02-03 10:06:05 +00:00
Nikita Lapkov
df3db1bff2
basic pipe
2019-02-03 09:57:12 +00:00
alexey-milovidov
c411362b75
Merge pull request #4234 from igron99/check_instructions_at_start
...
Check instructions at start
2019-02-02 20:07:49 +03:00
alexey-milovidov
fa644e1778
Update BaseDaemon.cpp
2019-02-02 20:07:20 +03:00
objatie_groba
5f0eec91a3
Minor code style fix. V2
2019-02-02 17:23:48 +03:00
objatie_groba
92cc7b0ef8
Minor code style fix
2019-02-02 16:54:30 +03:00
Alexander Tokmakov
68812cc7f7
Add function to check instruction availability
2019-02-02 16:26:02 +03:00
objatie_groba
4431e1e521
Error msgs fix
2019-02-02 16:07:02 +03:00
objatie_groba
f1d90515a1
First try
2019-02-02 15:26:07 +03:00
Alexey Milovidov
7f8ac2d26b
Fixed bad function name
2019-02-02 03:25:12 +03:00
alexey-milovidov
2023bc18da
Merge pull request #4209 from gerasiov/master
...
Set default umask to 027.
2019-02-01 14:41:18 +03:00
proller
ff30a156c9
Fix compile on ARM
...
Freebsd fix
2019-01-31 18:38:21 +03:00
Alexander GQ Gerasiov
58fb782c51
Set default umask to 027.
...
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
2019-01-31 18:09:17 +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
f13d094a4e
Merge pull request #3973 from amosbird/join_overwrite
...
Add join_overwrite settings for StorageJoin.
2019-01-24 02:05:13 +03:00
Danila Kutenin
784c3e5fda
fix of ppc64le definitions
2019-01-23 18:24:14 +03:00
Danila Kutenin
f6e6f99737
fix
2019-01-23 17:26:05 +03:00
Danila Kutenin
f5f5674cd6
fix
2019-01-23 17:21:42 +03:00
Danila Kutenin
7f4b0f3c04
added powerpc build support
2019-01-23 17:18:19 +03:00
alesapin
6053d1f235
Fix type
2019-01-22 19:28:05 +03:00
alesapin
e026759443
Fix fds close logic
2019-01-22 17:37:28 +03:00
Alexey Milovidov
fb3f760224
Merge remote-tracking branch 'origin/master' into fix-glibc-compatibility-2
2019-01-20 00:42:08 +03:00
Alexey Milovidov
cd4f93ff2a
Added missing glibc compatibility functions
2019-01-20 00:41:59 +03:00
Alexey Milovidov
68af2eaf00
Merge remote-tracking branch 'origin/master' into fix-glibc-compatibility-2
2019-01-20 00:37:42 +03:00
Alexey Milovidov
e22e19ddc9
Added missing glibc compatibility functions
2019-01-20 00:35:46 +03:00
Alexey Milovidov
f1bb9fc05a
Removed useless code
2019-01-20 00:05:20 +03:00
Alexey Milovidov
37f8d20181
Fix glibc compatibility, part 2
2019-01-19 20:14:57 +03:00
alexey-milovidov
d54a019456
Merge branch 'master' into fix-glibc-compatibility
2019-01-18 21:21:47 +03:00
Alexey Milovidov
ed124c955a
Link all libraries to "glibc-compatibility"
2019-01-18 21:20:07 +03:00
Alexey Milovidov
112f62f49f
Fixed linking order of glibc-compatibility library
2019-01-18 19:36:10 +03:00
proller
0939387514
Build fixes ( #4076 )
...
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00