Commit Graph

553 Commits

Author SHA1 Message Date
Alexey Milovidov
886e8ea0d4 Merge branch 'master' into pvs-studio-fixes-4 2019-07-08 19:58:42 +03:00
Alexey Milovidov
4e1286e1e5 Addition to prev. revision 2019-07-08 05:19:50 +03:00
Alexey Milovidov
6577ecec90 Two more fixes for PVS-Studio 2019-07-08 05:06:37 +03:00
Alexey Milovidov
57d8dac95d Two more fixes for PVS-Studio 2019-07-08 05:06:15 +03:00
Alexey Milovidov
74b245cfd4 Fixed DateLUT initialization when /etc/localtime is a relative symlink like ../usr/share/zoneinfo/Europe/Moscow 2019-07-08 02:55:08 +03:00
CurtizJ
80e96995ae Merge branch 'master' of https://github.com/yandex/ClickHouse into dns-cache 2019-07-03 21:27:43 +03:00
Alexey Milovidov
271f1807a3 Avoid PVS-Studio warning 2019-07-03 18:23:46 +03:00
Alexander Kuzmenkov
fe519cbea4 Pass const StringRef & to ZeroTraits::check
There is no reason to pass by value to this function, and this
is slower in debug builds, and leads to extra unexpected instrumentation
under asan.
2019-07-02 20:48:33 +03:00
Nikita Lapkov
47e1537b20 remove meaningless check (#5839) 2019-07-02 19:59:34 +03:00
alexey-milovidov
7fe87e112b
Merge pull request #5830 from yandex/filimonov-fix-macos-build
fix macos build after #4828
2019-07-02 12:52:10 +03:00
alexey-milovidov
dc59b245f1
Merge pull request #5828 from yandex/date-lut-fix-uct
Fix wrong resolution of time zone name.
2019-07-02 12:49:48 +03:00
filimonov
a08fa57711
another place with _XOPEN_SOURCE definition 2019-07-02 08:39:03 +02:00
Alexey Milovidov
97a502fcb6 Merge branch 'utc-fallback-no-tzdata' into date-lut-fix-uct 2019-07-02 03:12:50 +03:00
Alexey Milovidov
5e893c0da0 Fixed error with preference of UCT instead of UTC 2019-07-02 03:12:00 +03:00
Alexey Milovidov
ddd1a10b58 Fallback to UTC if no tzdata 2019-07-02 01:36:05 +03:00
Nikita Lapkov
5286ab97fd refactor and comments 2019-07-01 22:11:11 +00:00
Nikita Lapkov
9641d058d0 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-07-01 21:11:26 +00:00
Alexey Milovidov
735eb8eeca Removed `emacs' style of quotes 2019-07-01 22:55:35 +03:00
alexey-milovidov
7474abfea6
Merge pull request #5791 from yandex/aku/store-explicit
Require explicit type in unalignedStore
2019-06-29 15:33:38 +03:00
Nikita Lapkov
2a131185b0 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-06-28 18:20:23 +00:00
Nikita Lapkov
f8d2b5effd introduce Backtrace class 2019-06-28 18:06:38 +00:00
proller
c8469ab4ba
Build fixes. no submodules (#5792) 2019-06-28 21:06:09 +03:00
Alexander Kuzmenkov
0116c10e41 Require explicit type in unalignedStore
This is a follow-up to PR #5786, which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
Ivan
cdbfa3034c
Fix compilation when we don't have readline
Otherwise we get warning about extra semi-colon
2019-06-24 18:02:25 +03:00
proller
2a6c7cda0b CLICKHOUSE-4179 Fix function arrayEnumerateUniqRanked (#5622)
* wip

* fix

* clean
2019-06-15 22:14:17 +03:00
proller
09f3d68f6e Use logging in clickhouse-local. Use config options in command line in clickhouse-client (#5540)
* Try fix macos server run

* Doc macos build
 # Please enter the commit message for your changes. Lines starting

* CLICKHOUSE-3957 start wip

* tests wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* Making logger for clickhouse-local

* fixes

* wip

* wip

* wip

* wip

* clean

*      cf

* wip

* fix

* Update CMakeLists.txt

* Update argsToConfig.h

* Update argsToConfig.cpp

* Update ExtendedLogChannel.h

* Update OwnPatternFormatter.cpp
2019-06-14 17:00:37 +03:00
Orivej Desh
5ec179377a DEVTOOLS-5170 Delete Y_IGNORE markers (#5533)
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
alexey-milovidov
6cdb4e2aeb
Merge pull request #5443 from abyss7/fix-default-timezone
Use contents of environment variable TZ as the name for timezone
2019-05-28 20:11:34 +03:00
Ivan Lezhankin
a390428cd8 Use contents of env TZ as the name for timezone 2019-05-28 14:33:21 +03:00
Георгий Кондратьев
707ca25007 Delete port/memrchr.h
Its last user was deleted in 141e9799e4
2019-05-27 23:41:23 +00:00
proller
51ca4cbaa4
Build fixes (#5278) 2019-05-15 20:19:39 +03:00
proller
ba4687e110
Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) (#5091) 2019-04-24 12:06:28 +03:00
proller
29c3433322
Freebsd build fixes (#5083) 2019-04-23 15:51:27 +03:00
proller
525726a5e2
Remove pocoext (#5036) 2019-04-17 20:36:58 +03:00
proller
1b020827f0 Move Poco/Ext/ThreadNumber.h to common/getThreadNumber.h (#5016) 2019-04-17 17:53:54 +03:00
Danila Kutenin
e346758cea
Merge pull request #4995 from danlark1/master
LFAlloc added to clickhouse to allocate MarkCache and UncompressedCache data in different ways
2019-04-14 16:00:35 +03:00
Danila Kutenin
622b2c8472 Enable LFAlloc for MarkCache and UncompressedCache 2019-04-13 15:07:43 +03:00
Danila Kutenin
7f230cc134 LFAlloc added to clickhouse 2019-04-12 17:10:42 +03:00
Alexey Milovidov
1610bcca89 Fixed wrong toISOWeek result for 1970 year 2019-04-12 02:21:52 +03:00
alexey-milovidov
14b8e64992
Disable usage of "mremap" when compiled with Thread Sanitizer. (#4859)
* Disable mremap under Thread Sanitizer

* Disable mremap under Thread Sanitizer

* Disable mremap under Thread Sanitizer
2019-03-30 13:47:25 +03:00
proller
cf8001b6a9
Fix includes (#4673) 2019-03-13 16:58:04 +03:00
alexey-milovidov
6db73152d2
Hardening debug build (experimental) (#4632)
* Hardening debug build: more granular memory mappings and ASLR; add memory protection for mark cache and index

* Addition to prev. revision

* Addition to prev. revision

* Addition to prev. revision
2019-03-10 06:16:51 +03:00
proller
23d70b2e04
Add Y_IGNORE (#4521) 2019-02-27 19:52:08 +03:00
proller
211ec436c5
Build fixes (#4516) 2019-02-27 15:52:24 +03:00
Alexey Milovidov
2c8535e2ec Make the code less weird 2019-02-26 16:13:00 +03:00
Alexey Milovidov
eca885f754 Make the code less weird 2019-02-26 16:11:19 +03:00
Alexey Milovidov
d6db735e9d Simplifications 2019-02-25 06:19:18 +03:00
Alexey Milovidov
eb5376a0a8 Addition to prev. revision. 2019-02-25 04:26:37 +03:00
Alexey Milovidov
280f5a71c3 Addition to prev. revision. 2019-02-25 04:22:54 +03:00
Alexey Milovidov
0b7c5ab061 Decrypted code because it was impossible to read. 2019-02-25 04:05:05 +03:00