Commit Graph

72 Commits

Author SHA1 Message Date
proller
b6e01cd47e Fix isolated usage of all .h files, move some code to .cpp (#578)
* split ColumnAggregateFunction.h

* format

* Allow use re2_st without cmake

* use std type in find_first_symbols.h

* fix ArrayEvaluator.h

* include fixes

* split ColumnConstAggregateFunction.h

* fix StorageMaterializedView.h

* split AddingDefaultBlockOutputStream.h

* move CSVRowInputStream::updateDiagnosticInfo to .cpp

* split ParserEnumElement.h

* format

* split DB/Parsers/ParserUseQuery.h

* clean
2017-03-11 04:27:59 +04:00
proller
293b8b958c Allow use external re2 with re2_st=re2 (#547)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix
2017-03-07 20:10:04 +04:00
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
proller
1491a383d2 iostream_debug_helpers (#493)
* iostream_debug_helpers

* fixes

* fix

* fix
2017-02-14 23:14:34 +04:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
proller
b2b16b407f More include fixes (#462)
* More include fixes

* fix
2017-02-08 01:26:32 +04: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
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
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
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
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
f41480f1cd More simple time zones implementation [#CLICKHOUSE-2765]. 2017-01-22 12:27:51 +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
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
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
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
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
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
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
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
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