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
43971faf32
Merge branch 'localhost' of https://github.com/proller/ClickHouse into proller-localhost
2017-01-27 00:42:56 +03: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
d319d97bb6
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 17:36:38 +03:00
proller
a270e9a65f
Little improve system.build_options
2017-01-26 16:15:16 +03:00
proller
35dce017a2
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 15:07:29 +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
3fc4998a01
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 21:27:23 +03:00
proller
f890af1f8d
Remove code and includes from Collator.h, fix including <unicode/...> in dbms ( #395 )
2017-01-25 22:19:15 +04:00
proller
9c3133deac
wip
2017-01-25 16:17:13 +03:00
proller
1d7c5f63df
Cmake: fix includes with PATH_SUFFIXES ( #389 )
2017-01-25 01:07:08 +04:00
alexey-milovidov
5ee4c205c8
Revert "Cmake: fix includes with PATH_SUFFIXES" ( #388 )
2017-01-25 00:52:00 +04:00
proller
b068ffb100
Cmake: fix includes with PATH_SUFFIXES ( #387 )
2017-01-24 23:54:35 +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
6ec9380510
Allow to set server timezone from configuration file [#CLICKHOUSE-2765].
2017-01-22 15:53:24 +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
04d2149e8a
enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… ( #372 )
...
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1' option
* add -Werror for utils
2017-01-19 23:30:58 +04:00
proller
7201e2846a
Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used) ( #370 )
...
* Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used)
* fix override
2017-01-19 22:53:29 +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
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
f7c0998599
fix clang build ( #353 )
...
* Freebsd clang3.8 compile fixes
* clean
* fix
* fix clang build
2017-01-18 02:48:01 +04:00
proller
db0fce346a
Freebsd clang3.8 compile fixes ( #352 )
...
* Freebsd clang3.8 compile fixes
* clean
2017-01-18 01:00:23 +04: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
Alexey Milovidov
415c588af0
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:16:23 +03:00
Alexey Milovidov
68cf046e6c
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:29:44 +03:00
Alexey Milovidov
d8f0170bb7
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:24:59 +03:00
Alexey Milovidov
01b7c75d58
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:24:29 +03:00
Alexey Milovidov
d26f045819
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:18:07 +03:00
Alexey Milovidov
a86a86aa68
Addition to prev. revision [#CLICKHOUSE-2716].
2017-01-14 00:07:25 +03:00
Alexey Milovidov
fdc2464c78
Do not expose MySQL headers in headers of mysqlxx library [#CLICKHOUSE-2716].
2017-01-13 23:37:37 +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
4bfa697656
Add more search paths to find_mysqlclient.cmake, rename find_libmysqlclient.cmake -> find_mysqlclient.cmake
2017-01-12 15:20:43 +03:00
proller
d00765fb15
Find pthread lib by cmake
2017-01-11 16:40:02 +03:00
Alexey Zatelepin
ceb4d4a3a5
fix build (do not remove my_compress.c.o from libmysqlclient.a) [#METR-23582]
2017-01-09 22:54:40 +03:00
alexey-milovidov
c58cb0ccf2
Merge pull request #295 from proller/METR-23811
...
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 23:21:03 +04:00
Alexey Zatelepin
1c5db52d7d
remove zlib code compiled into libmysqlclient.a (fix precise build) [#METR-23582]
2017-01-09 22:12:36 +03:00
proller
1649b003a0
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 16:42:29 +03:00
Alexey Zatelepin
1b61f2a9d3
use zlib-ng from contrib everywhere [#METR-23582]
2017-01-08 22:24:38 +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
050fc12824
mysqlxx: updated for compatibility with CentOS [#METR-20000].
2016-12-12 09:45:46 +03:00
Alexey Milovidov
c564b505b6
Fixed build on clang with debug mode [#METR-2944].
2016-12-12 09:18:28 +03:00
Alexey Milovidov
90a60387b7
Using internal boost library [#METR-2944].
2016-12-12 08:01:56 +03:00
Alexey Milovidov
d605bfdc9d
Using internal boost library [#METR-2944].
2016-12-12 07:57:09 +03:00
Alexey Milovidov
9c8f4f02c4
Using internal boost library [#METR-2944].
2016-12-12 07:27:57 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +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
a86e56cd1f
cmake: Special treating of rt in some cases. [#METR-21516]
2016-12-07 00:01:19 +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
Alexey Milovidov
6fbf550387
Write microseconds to log [#METR-22327].
2016-11-18 02:29:22 +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-milovidov
52390b0180
Merge pull request #150 from ludv1x/METR-23101
...
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Alexey Zatelepin
3a7260e200
[#METR-23447] Client uses server timezone for DateTime string parsing
2016-11-13 19:34:31 +00:00
Vladimir Chebotarev
d4ba394100
libmysqlxx: Secure way to patch mysqlclient library. [#METR-21516]
2016-11-09 23:08:29 +03:00
Vitaliy Lyudvichenko
05620299cd
Reverted changes in main Server and BaseDaemon classes.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
d952dd39b0
Merged clickhouse-server and clickhouse-local into common app.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1
Implemented draft version of clickhouse-local service.
2016-11-09 22:03:47 +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
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
98e36c68da
Leader election: more safe [#METR-23272].
2016-10-24 16:08:07 +03:00
Alexey Milovidov
6e49241120
Better [#METR-23272].
2016-10-24 14:44:34 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03: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
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Pavel Kartavyy
d78e1dfa8c
test-helpers: fix build
2016-10-04 19:46:27 +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
alexey-milovidov
812f392ad3
Merge pull request #119 from yandex/basedaemon-fix
...
Basedaemon fix destructor
2016-09-26 17:59:27 +04:00
Alexander Prudaev
a1c8008f2d
fix segfault in BaseDamon destructor [#METR-22887].
2016-09-26 15:34:54 +03:00
Pavel Kartavyy
2f6b489ec2
daemon: add comments
2016-09-21 16:30:27 +03:00
Alexander Prudaev
174b9a806d
merge clickhouse into metrika repo
2016-09-14 16:20:17 +03:00
Pavel Kartavyy
b04cb69e21
libdaemon: add tryGetInstance [#METR-22622]
2016-09-06 21:46:01 +03:00
Alexey Arno
882d40889b
dbms: Better [#METR-18510]
2016-09-01 17:03:42 +03:00
Alexey Arno
6c064ab55b
dbms: Better comment [#METR-18510]
2016-09-01 13:24:06 +03:00
Alexey Arno
4db7b09ee3
dbms: Better comment [#METR-18510]
2016-09-01 12:58:56 +03:00
Alexey Arno
b62b499a9c
dbms: fixed race condition in SingleBarrier [#METR-18510]
2016-09-01 11:58:49 +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
ba9cf229cd
dbms: remove unused headers
2016-08-22 18:07:02 +03:00
Pavel Kartavyy
8b6a8a133b
dbms: fix build
2016-08-22 17:55:49 +03:00
Pavel Kartavyy
2032acd557
Merge commit 'e960efd5e63e4de51151724db92e6c2548aa88d9'
...
Conflicts:
metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
2016-08-22 17:22:27 +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
Pavel Kartavyy
9c8697655e
build: fix build after merge with clickhouse repo
2016-08-18 14:17:07 +03:00
Pavel Kartavyy
f9af920679
Merge commit '80e8c38c280f60d11ede1833908e3f68344e1d08'
2016-08-18 12:36:38 +03:00
Alexey Milovidov
d72d9733a8
Fixed warnings on clang [#METR-2944].
2016-08-07 19:25:31 +03:00
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
1c25aa3b9d
Removed useless code [#METR-2944].
2016-08-01 23:03:55 +03:00
Alexey Milovidov
6d6c22f92e
Allow to start under thread sanitizer [#METR-2944].
2016-07-30 07:44:04 +03:00
Alexey Milovidov
ea734b6bee
Removed compatibility layer with OLAPServer [#METR-2944].
2016-07-30 04:08:00 +03:00
Alexey Vasiliev
1bef561c32
code reviewed [#MOBMET-3538]
2016-07-29 15:50:19 +03:00
Alexey Vasiliev
ab78f8d0bf
GraphiteWriter: fixed invalid storage type of variable [#MOBMET-3538]
2016-07-29 11:00:16 +03:00
Alexey Vasiliev
8aebb9396f
deduplicatord: supported layers [#MOBMET-3538]
2016-07-28 12:37:21 +03:00
Alexey Milovidov
8922aafc39
Fixed error when 'core_dump,size_limit' configuration parameter has no effect [#BSDEV-55590].
2016-07-24 02:03:28 +03:00
Pavel Kartavyy
5199873d12
logbroker-import: faster balancing
2016-07-14 14:42:51 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Pavel Kartavyy
aaf4207c38
logbroker-import: develop partition release
2016-07-13 17:14:05 +03:00
Pavel Kartavyy
34b27dbbe4
logbroker-import: limited number of workers
2016-07-12 13:41:37 +03:00
alexey-milovidov
4cb7924b1e
Merge pull request #47 from yandex/change-signal
...
terminate sends SIGTERM instead of SIGINT
2016-07-11 21:24:37 +03:00
Pavel Kartavyy
5ad60a21ef
BaseDaemon: add missed throw
2016-07-09 00:20:44 +03:00
Pavel Kartavyy
76abce1ce0
zkutil::Lock: add comment
2016-07-08 15:01:59 +03:00
Pavel Kartavyy
6bdc4ac851
BaseDaemon: change terminate signal to SIGTERM.
...
gdb catches SIGINT and by default don't pass it to daemon
2016-07-08 13:26:58 +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
Alexey Milovidov
6ba6d01491
Using in-tree zookeeper client library [#METR-21848].
2016-06-26 11:16:13 +03:00