Commit Graph

295 Commits

Author SHA1 Message Date
proller
107fb86a40 Support multiplie listen addresses, set listen_host to local only (#545)
* Support multiplie listen addresses, set listen_host to local only

* set correct default

* better config

* no include

* Update Server.cpp
2017-03-03 04:24:56 +04:00
robot-metrika-test
e83d613b48 Auto version update to [54178] 2017-03-02 18:07:33 +03:00
robot-metrika-test
6f106c748e Auto version update to [54173] 2017-02-27 10:01:52 +03:00
Vasily Okunev
aec39daf99 Manual version increment [#METRIQA-732]. 2017-02-27 09:19:08 +03:00
proller
1491a383d2 iostream_debug_helpers (#493)
* iostream_debug_helpers

* fixes

* fix

* fix
2017-02-14 23:14:34 +04:00
Alexey Milovidov
bc9f8721db Auto version update to [54164] 2017-02-14 16:41:08 +03:00
proller
b5b64ceb2b Fix apple .so version (#490)
* Cmake: fix fallback to internal libs if no external found

* wip

* style

* fix

* Fix apple .so version
2017-02-14 16:34:32 +04:00
proller
f8d2f19280 Fix odbc include, clang-format fixes, misc (#484)
* Cmake: fix fallback to internal libs if no external found

* wip

* style

* fix
2017-02-13 17:59:34 +04:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
Alexey Milovidov
f7aca5e9a4 Auto version update to [54160] 2017-02-09 10:16:31 +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
b2b16b407f More include fixes (#462)
* More include fixes

* fix
2017-02-08 01:26:32 +04:00
Pavel Kartavyy
224ba16dcb use project source and binary dirs instead of global dirs 2017-02-06 18:15:19 +03:00
Pavel Kartavyy
b61bd0b96b Merge commit '84e4fb00bd0373058bfc091d2d19a8034df7cc93' into update-clickhouse
Conflicts:
	metrica/src/ClickHouse/libs/libdaemon/src/BaseDaemon.cpp
2017-02-06 17:57:47 +03:00
Vladimir Chebotarev
817587fb76 libcommon: More unique name for stream. [#METR-24353] 2017-02-02 17:19:13 +03:00
Alexey Milovidov
ff55521ac7 Auto version update to [54147] 2017-02-01 23:49:52 +03:00
proller
6e89ae9c82 release --version : only generate, commit and push new version (#435) 2017-02-02 00:49:32 +04:00
proller
d59f34f052 Fix generating release version. 2017-02-01 18:10:20 +04:00
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
3135ff17b6 Fix compiling utils without readline (#429)
* Fix compiling utils without readline

* fix
2017-01-31 23:34:30 +04:00
proller
79a7e893c7 system.build_options: move generated data to cpp, dont regenerate every compile (#423)
* system.build_options: move generated data to cpp, dont regenerate every compile

* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1.

* fix
2017-01-31 22:03:56 +04:00
Alexey Milovidov
fbe888c224 Manual version update [#CLICKHOUSE-2]. 2017-01-30 08:27:26 +03:00
proller
46037bb670 Allow link with jemalloc (#404)
* Allow link with jemalloc

* wip

* fix

* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3 Cmake: Test on having sse (#405)
* Cmake: Test on having sse

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2017-01-27 23:55:33 +04:00
proller
20d6c20a72 Dont throw if setrlimit failed (just print warning), Little build_options fix (#403)
* Little improve system.build_options

* Dont throw if setrlimit failed (just print warning)
Little build_options fix
2017-01-27 01:46:17 +04:00
alexey-milovidov
0e38fdcbf3 Remove stringstream performance on very short queries (#406)
* Improved performance on very short-response queries [#CLICKHOUSE-2].

* Improved performance on very short-response queries [#CLICKHOUSE-2].

* Improved performance on very short-response queries [#CLICKHOUSE-2].

* Renamed variable in test [#CLICKHOUSE-2].

* Benchmark: whitespace [#CLICKHOUSE-2].

* Manual version update [#CLICKHOUSE-2].
2017-01-27 01:30:11 +04:00
proller
a270e9a65f Little improve system.build_options 2017-01-26 16:15:16 +03:00
proller
e715ddd72a SELECT * FROM system.build_options [#METR-24175] (#398)
* start [#METR-24175]

* missing

* wip

* add spaces

* wip

* wip

* fix

* fix

* missing

* style fix
2017-01-26 02:24:36 +04:00
proller
70e641f58a Fix readline finding on mac; use config for readline vars (#397)
* Fix readline finding on mac; use config for readline vars

* fix
2017-01-26 00:14:41 +04:00
proller
f890af1f8d Remove code and includes from Collator.h, fix including <unicode/...> in dbms (#395) 2017-01-25 22:19:15 +04:00
Alexey Milovidov
c7aaef9e13 Comments [#CLICKHOUSE-2765]. 2017-01-22 16:07:57 +03:00
Alexey Milovidov
149d1ead71 Fixed error [#CLICKHOUSE-2765]. 2017-01-22 16:04:36 +03:00
Alexey Milovidov
f46e39fa97 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:45:05 +03:00
Alexey Milovidov
56cc8ca948 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:31:15 +03:00
Alexey Milovidov
4bb7b58e10 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:30:08 +03:00
Alexey Milovidov
f22a2303c7 Addition to prev. revision [#CLICKHOUSE-2765]. 2017-01-22 13:03:28 +03:00
Alexey Milovidov
f41480f1cd More simple time zones implementation [#CLICKHOUSE-2765]. 2017-01-22 12:27:51 +03:00
Alexey Milovidov
8de0740291 Using cctz library [#CLICKHOUSE-2]. 2017-01-21 05:32:02 +03:00
proller
38040f5323 Сmake: more info in message about libreadline (#376)
* Cmake: more info in message about libreadline

* icu cmake

* cmake: glib message
2017-01-20 23:57:30 +04: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
64a84c7c3d Manual version update to [54135] 2017-01-20 15:53:54 +03:00
proller
22797da2a6 Move generate version from git tool to source (#351)
* wip

* fix

* wip

* Auto version update to [54146]

* Auto version update to [54147]

* Auto version update to [54148]

* teeeeest

* Auto version update to [54149]

* wip

* Auto version update to [54154]

* wip

* wip

* wip
2017-01-19 03:28:23 +04:00
proller
a2e87911ce Apple fix: lost apple_version.h 2017-01-18 20:52:59 +03: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
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
proller
e634bc05a9 move git fetch from libs/libcommon/src/get_revision_lib.sh to release_lib.sh 2017-01-16 17:50:06 +03:00
proller
c601dacf31 arm64 compile fix 2017-01-13 22:01:45 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
proller
d00765fb15 Find pthread lib by cmake 2017-01-11 16:40:02 +03:00
Alexey Milovidov
ad6507f9df Preparation [#METR-23490]. 2016-12-27 09:36:53 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
proller
d270053c3c Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd. 2016-12-21 23:04:27 +03:00
Alexey Milovidov
c564b505b6 Fixed build on clang with debug mode [#METR-2944]. 2016-12-12 09:18:28 +03:00
Vladimir Chebotarev
c1dd1467d6 libcommon: Build was fixed. [#METRIQA-600] 2016-12-08 16:22:59 +04:00
Vladimir Chebotarev
b72ecc383d libcommon: Support for invoking from /tmp. [#METRIQA-600] 2016-12-08 15:12:54 +04:00
Vladimir Chebotarev
93c805c7f5 libcommon: Extract revision from source directory. [#METR-21516] 2016-12-07 01:53:32 +03:00
Vladimir Chebotarev
eb552f2943 cmake: Improved copy_headers.sh script, minor fixes. [#METR-21516] 2016-12-06 21:04:10 +03:00
Vladimir Chebotarev
ca5c1dc31b cmake: Improved build. [#METR-21516] 2016-12-06 19:51:34 +03:00
Vladimir Chebotarev
8e1a6aaf3e cmake: Boost, OpenSSL into find_package(). [#METR-23701] 2016-12-06 16:20:32 +03:00
Vladimir Chebotarev
bcc5500f91 cmake: More options. [#METR-23701] 2016-12-05 15:43:14 +03:00
Vitaliy Lyudvichenko
4df22acea9 Try to fix LIBTCMALLOC linking. 2016-11-30 15:10:39 +03:00
Vladimir Chebotarev
28732f6a7c libcommon: Improved build under OS X. [#METR-21516] 2016-11-16 05:25:58 +03:00
alexey-milovidov
3432f84409 Merge pull request #183 from ztlpn/METR-23447
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
Alexey Zatelepin
e1bb33cad0 PR fixes:
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
Alexey Zatelepin
3a7260e200 [#METR-23447] Client uses server timezone for DateTime string parsing 2016-11-13 19:34:31 +00:00
Vitaliy Lyudvichenko
d952dd39b0 Merged clickhouse-server and clickhouse-local into common app. 2016-11-09 22:05:35 +03:00
Vladimir Chebotarev
cdaece7dfa : More specific usage of static libraries. [#METR-21516] 2016-11-09 21:49:01 +03:00
Vladimir Chebotarev
e2ceb63c54 libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516] 2016-11-03 15:41:13 +03:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
39f2527012 Fixed memory leak [#METR-2944]. 2016-10-23 10:41:26 +03:00
Alexey Milovidov
8b1d686254 Whitespaces [#METR-2944]. 2016-10-23 09:58:26 +03:00
Pavel Kartavyy
78a8235802 json_test: fix build 2016-10-04 19:10:15 +03:00
Pavel Kartavyy
6b5a029e85 common: remove Test.h. Recommended to use boost_unit_test_framework instead [#METR-22785] 2016-10-04 18:13:52 +03:00
Pavel Kartavyy
43f81352cf Test: add TestLogInitializer to initialise logger in boost unit test [#METR-22785] 2016-10-04 13:38:52 +03:00
Pavel Kartavyy
b6118b1581 Test::initLogger(): use custom formatter in logging. supports logname, timestamp etc. [#METR-22785] 2016-10-04 12:58:38 +03:00
Yuri Dyachenko
99f91e93ba renamed: libs/libcommon/include/ext/share_ptr_helper.hpp -> libs/libcommon/include/ext/shared_ptr_helper.hpp 2016-08-30 22:31:50 +03:00
Yuri Dyachenko
81df630c68 fix comment 2016-08-30 22:31:26 +03:00
Yuri Dyachenko
94a2186dde rename ext::share_ptr_helper -> ext::shared_ptr_helper 2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f use std::enable_shared_from_this for IStorage 2016-08-29 16:28:34 +03:00
Yuri Dyachenko
065b02494a add -Wold-style-cast 2016-08-26 22:55:11 +03:00
Vasily Okunev
1cac1e7d69 Common get_revision function. 2016-08-25 20:55:25 +03:00
alexey-milovidov
9148209bc2 Merge pull request #80 from yandex/metrica-sync2
Metrica sync2
2016-08-23 18:18:19 +04:00
Pavel Kartavyy
38102a356c StrongTypedef: fixed bug with same type. Supported only moved types like unique_ptr 2016-08-23 13:41:08 +03:00
Pavel Kartavyy
8b6a8a133b dbms: fix build 2016-08-22 17:55:49 +03:00
Alexey Milovidov
453c5e1528 Fixed build [#METR-2807]. 2016-08-19 20:03:23 +03:00
Pavel Kartavyy
6e7bb0cd65 Merge branch 'master' into METR-19530
Conflicts:
	metrica/src/CMakeLists.txt
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
	metrica/src/libs/CMakeLists.txt
	metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
	metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
	metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
	metrica/src/programs/cleanerd/src/config.xml
	metrica/src/programs/deduplicatord/src/Task.cpp
	metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
	metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Alexey Milovidov
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Alexey Milovidov
ea734b6bee Removed compatibility layer with OLAPServer [#METR-2944]. 2016-07-30 04:08:00 +03:00
Alexey Milovidov
cb83414021 Addition to prev. revision [#METR-2944]. 2016-06-27 11:08:39 +03:00
Alexey Milovidov
93954476bc Addition to prev. revision [#METR-2944]. 2016-06-27 10:47:08 +03:00
Alexey Milovidov
50994f0458 Addition to prev. revision [#METR-2944]. 2016-06-27 10:16:36 +03:00
Alexey Milovidov
96805d4c2a Addition to prev. revision [#METR-2944]. 2016-06-27 10:15:48 +03:00
Alexey Milovidov
d578fae595 Addition to prev. revision [#METR-2944]. 2016-06-27 10:13:54 +03:00
Alexey Milovidov
67890d185a Addition to prev. revision [#METR-2944]. 2016-06-27 09:52:27 +03:00
Alexey Milovidov
30ce038312 Added option for compatibility with older glibc versions (experimental) [#METR-2944]. 2016-06-27 09:34:10 +03:00
Pavel Kartavyy
2435af6e31 MultiVersion: add ctor, set from unique_ptr 2016-06-14 14:45:42 +03:00
Pavel Kartavyy
3122b21a44 StrongTypedef: specialize std::hash 2016-06-14 14:44:32 +03:00
Pavel Kartavyy
69e1a0ab2f strong_typedef: fix build 2016-06-14 14:44:30 +03:00
Pavel Kartavyy
4e94c68bbb logbroker-import: add CommitMaker, ZooKeeperState [#METR-19530] 2016-06-14 14:44:26 +03:00
Pavel Kartavyy
2416f1bd91 create_revision: change regexp 2016-06-08 17:40:17 +03:00