filimonov
87ac53f652
formatting (space added)
2019-11-19 09:56:18 +01:00
Mikhail Filimonov
76d38fe639
Fix build with Poco Redis
2019-11-19 09:50:57 +01:00
Amos Bird
755904f51f
better INCLUDE_DEBUG_HELPERS
2019-11-16 00:34:43 +08:00
proller
0006f2a370
Fix build without submodules ( #7295 )
...
* Build fixes
* fix
* Fix
* fix
* Fix install(export..
* Freebsd fixes
* Freebsd fixes
* Fix warning
* fix
* More PRIVATE linking
* Fix review
* Timmy
* Timmy
* fix
* Try fix jemalloc link
* style
2019-10-30 23:34:06 +03:00
alesapin
a6199b7e69
Merge with master
2019-10-24 12:33:40 +03:00
Amos Bird
82d0dfa629
Better add_globs
2019-10-22 15:09:49 +08:00
alesapin
3e068b81de
Add loading of external dictionaries
2019-10-15 17:09:57 +03:00
Vitaly Baranov
12d1d87d64
Move authentication code to a separate class.
2019-10-11 00:18:52 +03:00
proller
594c535bd4
Build fixes ( #7063 )
...
* Build fixes
* fix
* Fix
* fix
* Fix install(export..
* Freebsd fixes
* Freebsd fixes
* Fix warning
* fix
* More PRIVATE linking
* Fix review
* Timmy
* fix
* fix
2019-10-05 22:25:31 +03:00
Azat Khuzhin
4b9d711f07
Add missing linking with PocoXML for clickhouse_common_io
...
Otherwise unbundled build fail with:
FAILED: dbms/libclickhouse_common_iod.so
...
../dbms/src/IO/WriteBufferFromS3.cpp:143: error: undefined reference to 'Poco::XML::InputSource::InputSource(std::istream&)'
../dbms/src/IO/WriteBufferFromS3.cpp:144: error: undefined reference to 'Poco::XML::DOMParser::DOMParser(Poco::XML::NamePool*)'
../dbms/src/IO/WriteBufferFromS3.cpp:145: error: undefined reference to 'Poco::XML::DOMParser::parse(Poco::XML::InputSource*)'
../dbms/src/IO/WriteBufferFromS3.cpp:146: error: undefined reference to 'Poco::XML::Document::getElementsByTagName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../dbms/src/IO/WriteBufferFromS3.cpp:144: error: undefined reference to 'Poco::XML::DOMParser::~DOMParser()'
../dbms/src/IO/WriteBufferFromS3.cpp:143: error: undefined reference to 'Poco::XML::InputSource::~InputSource()'
../dbms/src/IO/WriteBufferFromS3.cpp:144: error: undefined reference to 'Poco::XML::DOMParser::~DOMParser()'
../dbms/src/IO/WriteBufferFromS3.cpp:143: error: undefined reference to 'Poco::XML::InputSource::~InputSource()'
collect2: error: ld returned 1 exit status
2019-10-04 19:48:10 +03:00
Amos Bird
dadc613072
Get rid of malloc symbols in libcommon ( #7134 )
2019-09-30 14:58:32 +03:00
Ivan
e5a5091556
Revert "Get rid of malloc symbols in libcommon ( #7065 )" ( #7131 )
...
This reverts commit 4cb53093a0
.
2019-09-27 16:16:53 +03:00
Amos Bird
4cb53093a0
Get rid of malloc symbols in libcommon ( #7065 )
2019-09-27 15:19:26 +03:00
Ivan Lezhankin
9e46118edd
Merge remote-tracking branch 'upstream/master' into issue-6459
2019-09-20 21:25:55 +03:00
alexey-milovidov
0bdb48ed65
Merge pull request #6966 from azat-archive/build--fixes
...
Add missing linking with jemalloc
2019-09-19 01:52:22 +03:00
Azat Khuzhin
6cb5d0046b
Add missing linking with jemalloc for clickhouse_common_io
...
clickhouse_common_io incudes new_delete.cpp, that uses memory.h, which
uses sdallocx (jemalloc).
And since there is -Wl,--no-undefined every undefined symbols are not
allowed, hence clickhouse_common_io must know about sdallocx symbol.
For the default build (-DUNBUNDLED=OFF) everything is good, because
jemalloc is static, and clickhouse_common_io linked with libcommon
(which is linked with jemalloc)
But if jemalloc will be shared, and clickhouse_common_io and libcommon
is different shared libraries then clickhouse_common_io should be linked
with jemalloc, otherwise you will undefined reference to sdallocx error.
This can be reproduced using the following build configuration:
-DUSE_STATIC_LIBRARIES=OFF -DCLICKHOUSE_SPLIT_BINARY=ON -DSPLIT_SHARED_LIBRARIES=ON -DUNBUNDLED=ON
Provided that you have systemd-wide jemalloc>=4 (see memory.h).
Refs: https://github.com/yandex/ClickHouse/pull/6878#discussion_r324902295
v2: do not link jemalloc if it is static
2019-09-18 21:26:23 +03:00
Azat Khuzhin
780341060f
Replace libsparsehash with sparsehash-c11
...
- use sparsehash-c11 over libsparsehash
- fix typos in find_sparsehash and users of the vars (s/SPARCE/SPARSE/)
- drop libsparsehash-dev from docker images (but keep for unbunlded build)
- use ::google over GOOGLE_NAMESPACE
2019-09-18 00:08:20 +03:00
Ivan Lezhankin
8c356a3830
WIP
2019-09-15 18:20:31 +03:00
Ivan Lezhankin
787c2b8d83
WIP
2019-09-15 13:35:19 +03:00
Ivan Lezhankin
01fdb802d4
Useful changes
2019-09-15 13:35:12 +03:00
Amos Bird
9152a832c4
Robust shared build
2019-09-12 04:01:46 +08:00
Amos Bird
bf799fef92
Build fix
2019-09-11 10:53:56 +08:00
Amos Bird
a1310ffbe6
Split libdbms.so using object library
...
Now the linking time of incremental builds are around 1-2 seconds
2019-09-11 01:56:01 +08:00
Olga Khvostikova
4129d8cf60
Merge pull request #6092 from yandex/globs-in-file-one-more-attempt
...
Globs in storage file and HDFS
2019-09-05 23:05:37 +03:00
alexey-milovidov
b2e80b0cd9
Merge branch 'master' into query_masking
2019-09-03 22:58:15 +03:00
alexey-milovidov
358ad13930
Merge pull request #6715 from yandex/remove-mimalloc
...
Remove mimalloc
2019-08-30 00:41:33 +03:00
Ivan
b4339f266d
Make a better build scheme ( #6500 )
...
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
39d50b5144
Remove mimalloc
2019-08-28 22:01:52 +03:00
dimarub2000
6fe40a0d90
Merge branch 'master' into perfomance_test_help_size
2019-08-28 16:38:54 +03:00
Dmitry Rubashkin
5989b19684
Final
2019-08-26 22:16:28 +03:00
Alexey Milovidov
c4712f1e6e
Make the code less bad
2019-08-23 02:22:57 +03:00
stavrolia
6055c61e7f
wip hdfs
2019-08-19 21:12:50 +03:00
kreuzerkrieg
112fc71276
adding -Wshadow for GCC
2019-08-09 23:58:16 +03:00
proller
77bd2624ea
Build fixes ( #6016 )
...
* Fix building without submodules
* Fix more gcc9 warnings
* was wrong!
../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* mimalloc off MI_OVERRIDE
* Fix freebsd build
* Fix shared build
* Fix build in gcc9
* Fix split build
* fix
* fix
* fix
* fix
* clean
* zstd
* Update CMakeLists.txt
* Update Defines.h
* Try fix -Wsign-compare
* Freebsd fix
* Add missing libs
* Fix double-conversion include for copy-headers
* Fix zlib link
* Fix includes for arcadia
* Fix includes for arcadia
* Fix includes for arcadia
* Freebsd fix
* Arcadia fixes
* Update QueryProfiler.cpp
* Freebsd fix
* clean
* 19.11: Fixes for arcadia porting (#6223 )
* fix glibc-compatibility
* M_LIBRARY fix
* wip
* Fix
* Fix arm build
* unwind fix
* Update CMakeLists.txt
2019-08-04 03:19:03 +03:00
Alexey Milovidov
0d55faf2dd
Speed up stack traces for debug build
2019-08-03 23:47:57 +03:00
Alexey Milovidov
d95e0e66c6
Fixed "splitted" build
2019-07-30 21:03:12 +03:00
Alexey Milovidov
1d289b5b49
Fixed "splitted" build
2019-07-30 18:22:41 +03:00
Alexey Milovidov
372c4d89b2
Enabled line numbers in stack traces
2019-07-30 01:26:44 +03:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
...
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00
Mikhail Filimonov
9c2ae4513d
SensitiveDataMasker
2019-07-19 10:22:42 +02:00
alexey-milovidov
6706af64d7
Merge pull request #5981 from 4ertus2/some
...
Count new/delete memory in MemoryTracker
2019-07-18 23:07:00 +03:00
Amos Bird
a3312106af
Misc build fix
2019-07-17 02:27:11 +08:00
chertus
8c715d9b91
minor fix in cmake-files
2019-07-12 20:22:20 +03:00
chertus
37bee1104d
Merge branch 'master' into some
2019-07-12 18:16:03 +03:00
chertus
9bd42366f0
build fixes
2019-07-12 17:41:59 +03:00
Nikolai Kochetov
e9f3d4d6b8
Merge pull request #4914 from yandex/processors
...
Processors
2019-07-11 19:22:02 +03:00
chertus
9739ac13e4
move new/delete overloads to dbms/src/Common
2019-07-11 18:40:55 +03:00
Alexey Milovidov
499d798b34
Remove "clickhouse_compression" library because it is not a library (cyclic dependency via IDataType)
2019-07-10 00:37:43 +03:00
Alexey Milovidov
e07235e294
Addition to prev. revision
2019-07-08 21:55:06 +03:00
Nikolai Kochetov
209793c981
Merged with master.
2019-07-08 16:00:54 +03:00