Commit Graph

151 Commits

Author SHA1 Message Date
proller
1338b03438 Fix freebsd and macos build (contrib/libbtrie) (#806)
* Try fix freebsd 11-STABLE OCbuild

* Fix freebsd and macos build (contrib/libbtrie)
2017-05-17 21:45:44 +04:00
Marek Vavruša
9520234365 Dictionaries/TrieDictionary: IP prefix dictionary
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.

The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04:00
ivanzhukov
f33494ffe2 Add missing liblz4 header file 2017-05-07 00:10:25 +03:00
kmeaw
6b9fbd2095 Update lz4 library to the latest stable version (1.7.5, 2016-11-28) 2017-05-06 10:48:30 -04:00
Marek Vavruša
d2d7aaac69 contrib/libpoco: update Crypto to last stable
the last stable version 1.7.8 fixes build with
newer OpenSSL that’s in most of the distribution
2017-05-03 23:09:52 -07:00
Alexey Milovidov
5e969e70bc Removed useless code from re2 library build [#CLICKHOUSE-2]. 2017-04-18 00:11:12 +03:00
proller
5996800a73 Fix compiler option -Wno-dynamic-exception-spec 2017-04-17 18:57:50 +03:00
proller
d2b070bb40 Remove compiler option -Wno-dynamic-exception-spec [#CLICKHOUSE-2951] 2017-04-17 17:52:43 +03:00
proller
e3f0ff3c70 tcmalloc: add -Wno-dynamic-exception-spec 2017-04-11 16:30:49 +03:00
proller
29d4471b9d Fix build in gcc7 (#641)
* Fix build in gcc7

* try reduce warn area

* better fix
2017-03-31 08:09:11 +03:00
Vitaliy Lyudvichenko
2ab25099cd Move boost::tests to Google Tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
15254f91d2 Improve CMakeLists.txt for tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
253a0a55fe Add GoogleTest 1.7 framework for unit tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710 Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
proller
0b5731bc59 Try fix "Conditional jump or move depends on uninitialised value(s)" in cctz 2017-03-17 21:38:11 +04:00
Alexey Zatelepin
98a866ee5b split a single large SET_WATCHES message into multiple smaller ones [#CLICKHOUSE-2101]
See https://issues.apache.org/jira/browse/ZOOKEEPER-706 for details.
2017-03-15 23:44:24 +04:00
proller
e96092c66c Freebsd fixes (#555)
* freebsd fixes

* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
proller
9bbe8fe5c4 Dynamic library mode (#471)
* Cmake: UNBUNDLED option

* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
045fd6f55d fix build without readline 2017-02-08 01:40:08 +03:00
proller
f87ae6808f cmake: USE_INTERNAL_ZLIB_LIBRARY (#463)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix

* fix

* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
5a9c317b65 Freebsd: libcctz build fix 2017-02-02 19:16:38 +03:00
Alexey Milovidov
c903a23864 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:12:30 +03:00
Alexey Milovidov
93bbaf0e70 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:49:26 +03:00
Alexey Milovidov
3476e4d4c4 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:42:42 +03:00
Alexey Milovidov
a2380fc86b Poco: allow sending and flushing individual HTTP headers [#CLICKHOUSE-32]. 2017-01-22 18:02:24 +03:00
Alexey Milovidov
eec6c54ce1 cctz: removed useless file from build [#CLICKHOUSE-2]. 2017-01-21 07:36:34 +03:00
Alexey Milovidov
ed60f63e26 Added CCTZ to build [#CLICKHOUSE-2]. 2017-01-21 04:24:35 +03:00
Alexey Milovidov
2b311d49e9 Imported CCTZ library from 90ef68be6d [#CLICKHOUSE-2]. 2017-01-21 04:13:22 +03:00
proller
2688f4563f cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config (#375)
* Manual version update to [54135]

* Temporary release script fix [#METRIQA-732]

* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
f63a3ab167 Fix some errors in apple build (#362)
Fix some errors in apple build
2017-01-18 20:16:35 +03:00
proller
f7c0998599 fix clang build (#353)
* Freebsd clang3.8 compile fixes

* clean

* fix

* fix clang build
2017-01-18 02:48:01 +04:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
proller
718b765742 Fix no-pie with clang 2017-01-16 19:29:11 +03:00
Alexey Milovidov
a3d59db251 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:12:16 +03:00
Alexey Milovidov
e8d7641316 Fixed warning on clang [#CLICKHOUSE-2]. 2017-01-14 12:05:56 +03:00
proller
e2bc0c7471 Add -no-pie flag to linker in static mode 2017-01-13 23:11:21 +03:00
proller
c601dacf31 arm64 compile fix 2017-01-13 22:01:45 +03:00
alexey-milovidov
56743008dd Merge pull request #317 from proller/libs
Allow link with external libs: poco, tcmalloc
2017-01-13 21:39:23 +04:00
proller
2a6a4657be Fix compiling zlib-ng on arm64 (#331)
Fix compiling zlib-ng on arm64
2017-01-13 15:41:25 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
proller
ecb7642c4f Freebsd: preparing port, misc build/install chandes 2017-01-12 13:51:30 +00:00
proller
4df7b19c44 fix test_anl.cmake for old cmake 2017-01-11 16:41:39 +03:00
proller
8cbed35e0d Fix finding libanl (missing pthread) 2017-01-11 13:53:30 +03:00
proller
0df043fcec fix static linking with libanl.a on ubuntu 16.10 2017-01-09 19:32:41 +03:00
Alexey Zatelepin
b87f2dbac6 turn off new quick zlib strategy [#METR-23582] 2017-01-09 16:52:41 +03:00
Alexey Zatelepin
c1e8b674e0 add missing zlib include dir [#METR-23582] 2017-01-09 16:07:42 +03:00
artpaul
d0961238b9 fix build; error was 'add_intrinsics_option Macro invoked with incorrect arguments for macro' 2017-01-09 13:32:45 +05:00
Alexey Zatelepin
1b61f2a9d3 use zlib-ng from contrib everywhere [#METR-23582] 2017-01-08 22:24:38 +03:00