Commit Graph

1365 Commits

Author SHA1 Message Date
proller
7cefef6983
Fix linking in all modes (unbundled, split, ...) (#4037) 2019-01-11 19:52:46 +03:00
alesapin
6401628dc8 Fix clang-7 werrors 2019-01-10 14:25:59 +03:00
alexey-milovidov
6fabb5eb03
Merge pull request #4017 from yandex/netlink-sockets-pool
Don't use a pool for TaskStatsInfoGetters
2019-01-09 22:56:27 +03:00
alexey-milovidov
a739edc239
Merge pull request #4013 from yandex/pvs-studio-fixes-2
Fixed bugs found by PVS-Studio
2019-01-09 22:55:11 +03:00
proller
64c2c3650c
cmake: Dont cache version; macos: fix build; /release_lib.sh move to utils (#4016) 2019-01-09 21:32:43 +03:00
Alexey Zatelepin
006a764df9 don't use pool for TaskStatsInfoGetter [#CLICKHOUSE-4209]
Pool is not needed because creation of a TaskStatsInfoGetter takes
an order of 10us. Also pool is harmful because created sockets are
never closed.
2019-01-09 20:52:25 +03:00
Alexey Milovidov
19f4652959 Fixed bugs found by PVS-Studio 2019-01-09 18:44:20 +03:00
Alexey Milovidov
da449ff9d1 Little better #3920 2019-01-08 17:56:50 +03:00
Alexey Milovidov
0dfa553fca Added more warnings from clang's -Weverything, that are available in clang 8 2019-01-07 13:40:58 +03:00
Alexey Milovidov
06a8c3f02d Added some warnings from clang's -Weverything 2019-01-05 06:33:22 +03:00
Alexey Milovidov
445fc2bb43 Added some warnings from clang's -Weverything 2019-01-04 17:10:36 +03:00
Alexey Milovidov
cf1cacc366 Added some warnings from clang's -Weverything 2019-01-04 16:54:39 +03:00
Alexey Milovidov
4622f5dc7c Added some warnings from clang's -Weverything 2019-01-04 16:32:08 +03:00
Alexey Milovidov
1d4701b0bc Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
Alexey Milovidov
acb9696ddd Miscellaneous [#CLICKHOUSE-2] 2019-01-03 11:40:48 +03:00
Alexey Milovidov
e33e5150b7 Miscellaneous [#CLICKHOUSE-2] 2019-01-02 09:44:36 +03:00
proller
300bbdfb43 Fix cyclic lib depend ppart 2: clean 2018-12-28 21:15:26 +03:00
proller
0c78ef8573 Fix cyclic lib depend (make clickhouse_compression lib) 2018-12-28 20:27:53 +03:00
alexey-milovidov
d16447c3f4
Merge pull request #3899 from yandex/custom_compression_codecs
Custom compression codecs
2018-12-28 08:29:09 +03:00
Alexey Milovidov
ab85175e7f Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-4 2018-12-28 00:23:13 +03:00
alexey-milovidov
3455da0a97
Merge pull request #3947 from yandex/fix-config-reloader
Retry loading ZK substitutions after ZK errors
2018-12-28 00:22:48 +03:00
Alexey Milovidov
0d4e166db9 Fixed error: read one byte after buffer (this byte was unused) [#CLICKHOUSE-2] 2018-12-27 22:33:27 +03:00
Alexey Zatelepin
da00c6e918 retry loading ZK substitutions after ZK errors #2947 2018-12-27 21:12:38 +03:00
alesapin
3afa03d044 Merge branch 'master' into custom_compression_codecs 2018-12-27 11:23:00 +03:00
Alexey Milovidov
408f935754 Addition to prev. revision #3926 2018-12-27 03:03:18 +03:00
Alexey Milovidov
2e323192a2 Addition to prev. revision #3926 2018-12-27 03:02:11 +03:00
Alexey Milovidov
7509db544c Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3 2018-12-26 22:38:11 +03:00
alexey-milovidov
cd00fc8b56
Merge pull request #3934 from yandex/fix-zk-node-cache
Fix ZooKeeperNodeCache becoming unusable after SessionExpired event
2018-12-26 22:15:32 +03:00
Alexey Zatelepin
601a6af0ec fix ZooKeeperNodeCache becoming unusable after SessionExpired event #2947 #3891
Previously after a SessionExpired event the context->zookeeper field was
reinitialized with the old expired ZooKeeper instance. This led to inability
to get new paths. Better not cache the ZooKeeper instance and get it at the
start of each request.
2018-12-26 20:27:25 +03:00
alesapin
8f82d5a687 Merge branch 'master' into custom_compression_codecs 2018-12-26 10:43:33 +03:00
Alexey Milovidov
5abb2d02b9 Fixed UB #3926 2018-12-26 08:34:25 +03:00
Alexey Milovidov
b7f085c525 Fixed UB #3926 2018-12-26 05:47:16 +03:00
Alexey Milovidov
897199c220 Fixed UB #3926 2018-12-26 04:29:48 +03:00
Alexey Milovidov
c858c144ef Fixed UB #3926 2018-12-26 02:39:40 +03:00
Alexey Milovidov
cfc1e207ab Fixed UB #3926 2018-12-26 02:27:52 +03:00
Alexey Milovidov
8f306e8b45 Small improvements #3920 2018-12-25 22:31:18 +03:00
alexey-milovidov
8120d5495e
Update PODArray.h 2018-12-25 21:52:43 +03:00
alexey-milovidov
d99072ffb0
Update PODArray.h 2018-12-25 21:51:37 +03:00
alexey-milovidov
e1568fd9ad
Update PODArray.h 2018-12-25 21:49:09 +03:00
Amos Bird
8736a3908f left pad 2018-12-24 23:51:06 +08:00
alesapin
1e771a4aec Fix error codes 2018-12-24 14:34:50 +03:00
alexey-milovidov
b9c4ede4fd
Merge pull request #3785 from sergey-v-galtsev/match-process-euid-against-data-owner
Match the process' effective user id against the data owner at the server startup.
2018-12-23 22:28:54 +03:00
Alexey Milovidov
7b420297ed Fixed "unbundled" build #3905 2018-12-23 22:25:40 +03:00
alesapin
0ae14be8d2 Fix codes 2018-12-20 13:44:20 +03:00
Sergey V. Galtsev
a2042d60bf Resolve conflict with upstream. 2018-12-20 00:16:44 +03:00
alexey-milovidov
f05bf6c046
Merge pull request #3873 from s-mx/send_logs_level2
Fix strange behavior of send_logs_level setting.
2018-12-19 19:18:02 +03:00
Sabyanin Maxim
ea27ec463e add SettingLogsLevel 2018-12-19 16:20:41 +03:00
Alexey Milovidov
b7ce79c423 Miscellaneous [#CLICKHOUSE-2] 2018-12-19 16:11:06 +03:00
alesapin
9b0d47c0c3 Add zstd params validation 2018-12-18 18:00:51 +03:00
alesapin
36a6121f75 Merge branch 'master' into custom_compression_codecs 2018-12-17 12:56:21 +03:00
alexey-milovidov
7380abf502
Merge pull request #3021 from yandex/ubsan-fixes-3
UBSan fixes, part 2
2018-12-14 22:29:47 +03:00
Alexey Milovidov
d7e25e1439 Always build ODBC bridge as a separate binary #3360 2018-12-14 22:28:37 +03:00
Alexey Milovidov
cd233cef17 Fixed typo [#CLICKHOUSE-2] 2018-12-14 21:06:10 +03:00
alexey-milovidov
6d27777b19
Merge branch 'master' into ubsan-fixes-3 2018-12-14 20:52:54 +03:00
Nikolai Kochetov
ec59f65a1e Update ReverseIndex. Added tests. 2018-12-13 22:02:28 +03:00
zhang2014
6d0c4eaf89 ISSUES-838 add lz4、none、zstd codec 2018-12-13 12:10:34 +08:00
Sergey V. Galtsev
df9833fd3f Remove no longer used error code. 2018-12-11 02:18:16 +03:00
Amos Bird
197d73d5bc Fix copy-paste error. 2018-12-11 01:31:10 +08:00
Sergey V. Galtsev
42de08f3b9 Move euid check back to Server.cpp.
Use getpwnam_r instead of getpwnam.
Fix style.
2018-12-10 01:15:59 +03:00
alexey-milovidov
0b4f0ca7d5
Merge pull request #3744 from yandex/low-cardinality-nullable-group-by
LowCardinality optimization for single nullable column.
2018-12-07 23:32:27 +03:00
alesapin
21f8a86635 Merge branch 'chenxing-xc-master' 2018-12-07 17:13:11 +03:00
alesapin
80b49e4c0a Add integration test, put dependent libs to contrib, slightly refine
code.
2018-12-07 14:41:24 +03:00
Alexey Milovidov
f3c72daf50 Fixed name [#CLICKHOUSE-2] 2018-12-07 06:21:17 +03:00
proller
65e1e2af13 Fix dmesg error netlink: '...': attribute type 1 has an invalid length. 2018-12-04 15:18:37 +03:00
Nikolai Kochetov
2723b0efbf Fix build. 2018-12-04 15:12:52 +03:00
Nikolai Kochetov
98499b1140 LowCardinality optimization for single nullable column. 2018-12-03 21:00:20 +03:00
alesapin
03ce4c5bc5
Merge branch 'master' into master 2018-12-03 13:02:34 +03:00
alesapin
0090aaf8ee Add missed header 2018-12-03 12:12:03 +03:00
alexey-milovidov
48b30edcf5
Merge branch 'master' into alter-order-by 2018-12-02 21:06:38 +03:00
Alexey Milovidov
b7d9910bd3 Merge branch 'master' into dont-allocate-too-much-memory-to-parse-query 2018-12-01 04:54:01 +03:00
alexey-milovidov
bf7b68cf95
Merge pull request #3689 from abyss7/CLICKHOUSE-3936
CLICKHOUSE-3936
2018-12-01 01:50:04 +03:00
Alexey Milovidov
ca1d38914a Don't log to stderr within RE2 library [#CLICKHOUSE-2] 2018-11-30 22:37:31 +03:00
Alexey Milovidov
35f6fb5ae6 Avoid memory over-allocation when large value of "max_query_size" is specified [#CLICKHOUSE-4169] 2018-11-30 18:36:41 +03:00
Ivan
448846fc0d
Merge branch 'master' into CLICKHOUSE-3936 2018-11-28 18:59:57 +03:00
Ivan Lezhankin
8b5a05947c Remove redundant information from RWLock.
And fix broken exception in some race conditions
2018-11-28 18:50:52 +03:00
alexey-milovidov
a4fd7f4eb3
Update configReadClient.h 2018-11-28 17:45:58 +03:00
alexey-milovidov
a991781937
Update configReadClient.cpp 2018-11-28 17:45:01 +03:00
proller
7e9d053d5d Benchmark: use client config for ssl options 2018-11-28 17:41:51 +03:00
Alexey Zatelepin
1b27fb046d Merge branch 'master' into alter-order-by
Conflicts:
	dbms/programs/server/Server.cpp
2018-11-28 16:47:07 +03:00
Alexey Zatelepin
ceea7bde2e better names in ZooKeeperNodeCache [#CLICKHOUSE-3859] 2018-11-28 14:40:59 +03:00
Ivan Lezhankin
470f96ce19 Minor refactoring 2018-11-27 19:45:45 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ (#2443) 2018-11-27 19:11:46 +03:00
Alexey Zatelepin
d3d9242462 Merge branch 'master' into alter-order-by
Conflicts:
	dbms/src/Parsers/ASTAlterQuery.h
	dbms/src/Parsers/ParserAlterQuery.cpp
	dbms/src/Storages/AlterCommands.cpp
	dbms/src/Storages/AlterCommands.h
2018-11-26 16:01:48 +03:00
Alexey Milovidov
c77930fe30 Whitespaces [#CLICKHOUSE-2] 2018-11-26 03:56:50 +03:00
Alexey Milovidov
141e9799e4 Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2] 2018-11-25 03:08:50 +03:00
Alexey Milovidov
7d6fffff48 More style checks [#CLICKHOUSE-3] 2018-11-24 04:48:06 +03:00
proller
ad6ae4fdbe Fix build on mac (caused by #3631) (#3654)
* Fix build on mac (caused by #3631)

* fix
2018-11-24 04:15:00 +03:00
alexey-milovidov
507990d5f2
Merge branch 'master' into master 2018-11-23 23:41:38 +03:00
alexey-milovidov
af013285e9
Merge branch 'master' into base64_functions 2018-11-23 21:33:56 +03:00
alexey-milovidov
0822f500f8
Merge pull request #3642 from yandex/odbc_bridge_die_with_server
ODBC bridge die with server
2018-11-23 16:44:53 +03:00
alesapin
d31d30c8e1 Fix comments, naming, log about kill inability and better test 2018-11-23 11:08:35 +03:00
Alexey Milovidov
64c6951b1a More correct documentation #3644 2018-11-23 00:28:38 +03:00
Alexey Milovidov
d3bb69be74 More correct documentation + miscellaneous name change #3644 2018-11-23 00:27:52 +03:00
alexey-milovidov
49d2d8a1b8
Merge pull request #3644 from proller/fix4
Add VERSION_INT (ClickHouse version in integer format like 18014009) …
2018-11-23 00:22:19 +03:00
alexey-milovidov
2c2d75cceb
Don't allow exceptions without code (#3645)
* Don't allow exceptions without code #3633

* Don't allow exceptions without code #3633
2018-11-23 00:19:58 +03:00
proller
f410c93fb1 Add VERSION_INT (ClickHouse version in integer format like 18014009) to system.metrics and system.build_options 2018-11-22 21:24:38 +03:00
Alexey Milovidov
a5d1fc0ca7 Removed unused constructor #3633 2018-11-22 21:09:17 +03:00
alesapin
2b2195d4de Fix stupid if 2018-11-22 19:01:17 +03:00
alesapin
1e879850bb Kill odbc-bridge with clickhouse-server 2018-11-22 18:59:00 +03:00
Alexey Milovidov
7b919c9b2b Removed unused constructor #3633 2018-11-22 18:09:19 +03:00