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
Sergey V. Galtsev
51b6dd67b0
Match the process' effective user id against the data owner at the server startup.
2018-12-07 17:56:59 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ ( #2443 )
2018-11-27 19:11:46 +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
Alexey Milovidov
ab5d76fc42
Fixed error introduced in #3553 and prevent it happening
2018-11-21 23:56:37 +03:00
proller
1d40c2c871
Better link and deps ( #3631 )
...
* try fix 1
* Better deps
* fix
* fix
* fix
* Update CMakeLists.txt
* Update CMakeLists.txt
* fix
* fix
* fix
* disable old
* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
Alexey Milovidov
06187e9a98
Comments [#CLICKHOUSE-2]
2018-11-21 20:27:13 +03:00
alexey-milovidov
b1db9ec23c
Merge pull request #3436 from amosbird/master
...
Flexible fields assignment
2018-11-01 20:22:28 +03:00
proller
f86d1a7034
CONTRIB-254 Arcadia fixes ( #3475 )
...
* Macos: set ENABLE_EMBEDDED_COMPILER=0 by default (because contrib/llvm temporary broken under macos)
* \n
* arcadia fix
* fix arcadia link
* wip
* wip
* wip
* fix
* wip
* wip
* fix
* try use users from server dir
* Revert "try use users from server dir"
This reverts commit 79b2c6fd9c
.
* Fix logging
* fix
* Update ZooKeeperImpl.h
2018-11-01 20:07:20 +03:00
Amos Bird
3cf2177268
Flexible fields assignment
...
Field f;
before:
f = Int64(-42);
after:
f = -42;
2018-10-24 08:47:33 +08:00
Alexey Milovidov
5c386ea3cd
Always write query_id field in log #3203
2018-09-24 21:44:40 +03:00
cekc
76c79929c3
fix typo in BaseDaemon doc
...
daemon has --errorlog-file cmd option, not --error-file
2018-09-21 16:42:32 +03:00
proller
d2ad686556
Try fix macos server run ( #3102 )
2018-09-11 20:48:25 +03:00
proller
db13ef96d6
Fix ssl init ( #3056 )
...
* Try to fix ../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
* Fix ssl init
* fix
* noncopyable
* clean
2018-09-06 21:05:33 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings
2018-08-31 03:03:44 +03:00
proller
4529f33457
Fix clickhouse-test-server
...
rename /var/log/clickhouse-server/stderr to stderr.log and stdout to stdout.log
2018-08-29 21:48:14 +03:00
Alexey Milovidov
17b89d7dc7
Simplified terminate handler [#CLICKHOUSE-2]
2018-08-29 21:35:46 +03:00
Alexey Milovidov
e5a2dd8624
Merge branch 'master' into extra-warnings
2018-08-27 19:19:04 +03:00
proller
3acce3bff9
Build fix ( #2944 )
...
* Build fix
* Better sample build scripts
* zlib apple fix
* fix
* fix
* better so version
* SPLIT_SHARED -> LINK_MODE
* clean
2018-08-27 17:39:20 +03:00
Alexey Milovidov
595bd32f41
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:41:08 +03:00
Alexey Milovidov
29a6a85ccf
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:31:12 +03:00
Alexey Milovidov
e6e1ff4284
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:30:13 +03:00
proller
3a00be1aab
fix
2018-08-21 21:35:47 +03:00
Alexey Milovidov
bcbcbcdbb1
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-21 02:22:30 +03:00
Alexey Milovidov
8ca2eed716
Miscellaneous [#CLICKHOUSE-2].
2018-08-21 02:16:50 +03:00
Alexey Milovidov
328c1387c0
Removed Poco::NumberFormatter [#CLICKHOUSE-2]
2018-08-20 22:35:04 +03:00
Alexey Milovidov
acb99b49df
Merge branch 'master' into CLICKHOUSE-2910
2018-08-14 23:29:42 +03:00
alesapin
53b23e0113
CLICKHOUSE-3878: Add inherited fd's closing function
2018-08-12 15:23:22 +03:00
alesapin
dd01eb6b40
CLICKHOUSE-3878: Add odbc-bridge first version
2018-08-07 20:57:44 +03:00
proller
c7848d2062
CLICKHOUSE-3771: Fixes
2018-07-17 21:22:32 +03:00
Alexey Milovidov
158742831e
Little better #2482
2018-07-04 16:29:31 +03:00
Alexey Milovidov
5d00a23f47
Leave thread number in log in a consistent place #2482
2018-06-28 23:04:13 +03:00
Vitaliy Lyudvichenko
358e4ae9bf
Fixed failures in utils, more precise test. [#CLICKHOUSE-2910]
2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-19 23:33:11 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
Vitaliy Lyudvichenko
392f6e0c6c
Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910]
2018-06-18 16:41:13 +03:00
Vitaliy Lyudvichenko
4cd230f85c
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-14 16:04:00 +03:00
Vitaliy Lyudvichenko
ac54e52fb3
Add server logs passing to client. [#CLICKHOUSE-2910]
2018-06-07 20:58:50 +03:00
alexey-milovidov
726061b693
Update BaseDaemon.cpp
2018-06-01 20:45:03 +03:00
Alexandr Krasheninnikov
8d273e776b
Syslog logging support
2018-06-01 20:45:03 +03:00
Vitaliy Lyudvichenko
9b681eb974
Suppress compiler warnings. [#CLICKHOUSE-2]
2018-05-15 21:10:50 +03:00
Vitaliy Lyudvichenko
7d1078d992
Add config key to force stderr redirecting. [#CLICKHOUSE-2]
2018-05-15 20:05:13 +03:00
Vitaliy Lyudvichenko
31c4a51ae4
Reverted bad changes. [#CLICKHOUSE-2]
2018-05-15 19:22:00 +03:00
Alexey Milovidov
3e79e8974f
Addition to prev. revision [#CLICKHOUSE-2]
2018-05-15 00:37:56 +03:00
Vitaliy Lyudvichenko
fb7e6350db
Fixed disabled stderr output. Better configs for clickhouse-copier. [#CLICKHOUSE-2]
2018-05-14 17:14:58 +03:00
proller
89b67dd25a
Simpler disable logging to file in conf.d (<log/> <errorlog/>)
2018-04-19 21:25:04 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
proller
bbb12e89f0
Better listen_try, pbuilder fix ( #2068 )
...
* rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0
* Update contrib/boost
* Update contrib/boost
* Add comments
* Fix
* Pbuilder fix
* Better listen_try
* Much better listen_try
* Revert "remove ipv6 listen_host from docker_related_config to allow running in ipv4-only dockers"
This reverts commit 3cfa4c3e65
.
* Fix freebsd and macos build
2018-03-18 12:02:29 +03:00
Alexey Milovidov
2bc42d53f4
More information on signals [#CLICKHOUSE-2]
2018-03-16 08:18:13 +03:00
Alexey Milovidov
8b59db58c3
Fixed uneven code #2032
2018-03-14 02:44:23 +03:00