Commit Graph

53432 Commits

Author SHA1 Message Date
alesapin
b74e7accf1 Review fixes 2020-12-17 11:17:39 +03:00
alesapin
f2957d6f05 Merge branch 'master' into try_rewrite_writer 2020-12-17 10:40:25 +03:00
Nikolai Kochetov
10449695bc Update boost. 2020-12-17 10:32:11 +03:00
Nikolai Kochetov
c91c5d0a68 Update boost. 2020-12-17 10:29:47 +03:00
alesapin
66228f4054
Merge pull request #18065 from ClickHouse/fix_watch_race_testkeeper
Remove dead list watches from TestKeeperStorage
2020-12-17 10:15:30 +03:00
Alexey Milovidov
d5471cda52 Attempt to remove TestFlows 2020-12-17 08:10:20 +03:00
Alexey Milovidov
ce9767fc42 Remove obsolete and inefficient ciphers 2020-12-17 07:43:54 +03:00
spongedc
0434e3c17b fix parser hints for show statement 2020-12-17 12:24:36 +08:00
alexey-milovidov
bc0186eede
Merge pull request #18168 from ClickHouse/unknown_function_better_exception
Better exception message for unknown function
2020-12-17 07:19:04 +03:00
alexey-milovidov
81c00a4e94
Merge pull request #18167 from ClickHouse/fix_checking_profile_settings_constraints
Fix `Unknown setting profile` error on attempt to set settings profile
2020-12-17 07:18:53 +03:00
Alexey Milovidov
01d3aef890 Disable trap back 2020-12-17 05:53:43 +03:00
alexey-milovidov
b159e15b1b
Update easy_tasks_sorted_ru.md 2020-12-17 05:50:04 +03:00
nikitamikhaylov
22363f6086 better 2020-12-17 05:29:27 +03:00
nikitamikhaylov
db362e4585 done 2020-12-17 05:27:32 +03:00
Alexey Milovidov
4e8978e022 Merge with master 2020-12-17 05:21:27 +03:00
Alexey Milovidov
7f280bef37 Merge branch 'master' into sigaltstack 2020-12-17 05:09:10 +03:00
Alexey Milovidov
7abc58526a Update test 2020-12-17 04:55:07 +03:00
Alexey Milovidov
6a7c73a7bd Merge branch 'master' into insert_quorum_parallel-default 2020-12-17 04:54:17 +03:00
Alexey Milovidov
b25f126569 Added a test 2020-12-17 04:52:27 +03:00
Alexey Milovidov
9a017b77df Merge branch 'master' into relax-too-many-parts-1 2020-12-17 04:40:39 +03:00
alexey-milovidov
d2653f91e1
Merge pull request #18112 from GrigoryPervakov/join_set_s3
Use IDisk in Set and Join storages
2020-12-17 03:40:13 +03:00
alexey-milovidov
792d8981ab
Merge pull request #18115 from AnaUvarova/ana-uvarova-DOCSUP-2030-rus-faq-order
DOCSUP-2030 Rus FAQ order
2020-12-17 03:36:07 +03:00
alexey-milovidov
37da513c36
Merge pull request #18136 from taiyang-li/explain_ast_nonselect_query
Explain ast support nonselect querys
2020-12-17 03:35:19 +03:00
alexey-milovidov
484f20f77d
Merge pull request #18140 from ClickHouse/fix_flaky_test
Trying to fix 00620_optimize_on_nonleader_test
2020-12-17 03:34:39 +03:00
alexey-milovidov
908784a0d9
Merge pull request #18148 from ClickHouse/suppress_error_in_test
Suppress error in 00993_system_parts_race_condition_drop_zookeeper
2020-12-17 03:32:10 +03:00
nikitamikhaylov
71bd7e55d3 Bump 2020-12-17 03:15:13 +03:00
Alexey Milovidov
8d9c5f0fc9 Fix splitted build 2020-12-17 01:59:58 +03:00
alexey-milovidov
2e2cc6d344
Merge pull request #18141 from staticor/patch-5
Update misc.md
2020-12-17 01:19:08 +03:00
Alexey Milovidov
f09921b31a Update BoringSSL; add missing mode 2020-12-17 01:18:50 +03:00
nikitamikhaylov
d70f58a98f remove ryu 2020-12-17 00:52:04 +03:00
Alexander Tokmakov
6c8f844442 better exception message for unknown function 2020-12-17 00:42:14 +03:00
Maksim Kita
685099af7f Move getPageSize in common 2020-12-17 00:23:41 +03:00
Maksim Kita
8f49946a72 Reused Result type 2020-12-17 00:21:44 +03:00
Alexey Milovidov
998261d5f7 Merge branch 'master' into boringssl2 2020-12-17 00:05:07 +03:00
Alexey Milovidov
3be3e1af1f Revert "Temporary disable encrypt/decrypt functions"
This reverts commit 1d412e433c.
2020-12-17 00:05:03 +03:00
Maksim Kita
4b32bb323a Fixed style issues 2020-12-17 00:04:03 +03:00
Alexander Tokmakov
76e73e4e8b fix 'Unknown setting profile' error 2020-12-16 23:49:56 +03:00
Maksim Kita
5a096a75b8 Fixed issues with average 2020-12-16 23:10:40 +03:00
alesapin
1f3702ff9e Merge branch 'master' into fix_watch_race_testkeeper 2020-12-16 23:03:07 +03:00
alesapin
a999850378
Merge pull request #18130 from ClickHouse/fix_remove_column_ttl
Fix remove TTL for column
2020-12-16 22:05:16 +03:00
Ilya Yatsishin
521e3fc4ae
Merge pull request #17910 from sevirov/sevirov-DOCSUP-4919-document_replication_queue_system_table
DOCSUP-4919: Document the system.replication_queue system table
2020-12-16 21:43:32 +03:00
Azat Khuzhin
fd19fa1b70 Disable grpc protocol by default for TSAN and gcc
Since libtsan.a already has them:

    ld.lld: error: duplicate symbol: RunningOnValgrind
    >>> defined at dynamic_annotations.cc:99 (../contrib/abseil-cpp/absl/base/dynamic_annotations.cc:99)
    >>>            dynamic_annotations.cc.o:(RunningOnValgrind) in archive contrib/abseil-cpp/absl/base/libabsl_dynamic_annotations.a
    >>> defined at tsan_interface_ann.o:(.text+0x15A0) in archive /usr/lib/gcc/x86_64-linux-gnu/10/libtsan.a

    ld.lld: error: duplicate symbol: AnnotateMemoryIsInitialized
    >>> defined at dynamic_annotations.cc:75 (../contrib/abseil-cpp/absl/base/dynamic_annotations.cc:75)
    >>>            dynamic_annotations.cc.o:(AnnotateMemoryIsInitialized) in archive contrib/abseil-cpp/absl/base/libabsl_dynamic_annotations.a
    >>> defined at tsan_interface_ann.o:(.text+0x1600) in archive /usr/lib/gcc/x86_64-linux-gnu/10/libtsan.a

    ld.lld: error: duplicate symbol: AnnotateMemoryIsUnt show initialized
    >>> defined at dynamic_annotations.cc:75 (../contrib/abseil-cpp/absl/base/dynamic_annotations.cc:75)
    >>>            dynamic_annotations.cc.o:(AnnotateMemoryIsUninitialized) in archive contrib/abseil-cpp/absl/base/libabsl_dynamic_annotations.a
    >>> defined at tsan_interface_ann.o:(.text+0x1610) in archive /usr/lib/gcc/x86_64-linux-gnu/10/libtsan.a

    ...

And after this patch I successfully managed to build with thread
sanitizer under gcc.
2020-12-16 21:31:03 +03:00
Azat Khuzhin
995c3da1c3 Disable memory tracking for gcc TSAN/ASAN
Since libtsan.a provides new/delete overrides too:

    ld.lld: error: duplicate symbol: operator new[](unsigned long, std::nothrow_t const&)
    >>> defined at new_delete.cpp:64 (../src/Common/new_delete.cpp:64)
    >>>            new_delete.cpp.o:(operator new[](unsigned long, std::nothrow_t const&)) in archive src/libclickhouse_new_delete.a
    >>> defined at tsan_new_delete.o:(.text+0xE0) in archive /usr/lib/gcc/x86_64-linux-gnu/10/libtsan.a

v2: Fix order of src vs programs for clickhouse_new_delete target detection
2020-12-16 21:31:03 +03:00
Azat Khuzhin
c862ae0c42 Explicitly link with -llib$SANITIZER for gcc
gcc with -nodefaultlibs does not add sanitizers library during linkage
with -static-libasan and similar, fix this, by add them explicitly.

From the gcc(1) about -nodefaultlibs:

    Do not use the standard system libraries when linking. Only the
    libraries you specify are passed to the linker, and options specifying
    linkage of the system libraries, such as -static-libgcc or
    -shared-libgcc, are ignored. The standard startup files are used
    normally, unless -nostartfiles is used.

Plus checked it manually, w/o -nodefaultlibs everything works without
this explicit linkage.

After this patch UBSAN under gcc compiled successfully.

v2: freebsd and darwin
2020-12-16 21:31:03 +03:00
Azat Khuzhin
1dca6e9269 cmake/linux/default_libs.cmake: fix alignment 2020-12-16 21:31:03 +03:00
Azat Khuzhin
90df89b504 cmake/sanitizers.cmake: tiny refactoring 2020-12-16 21:31:03 +03:00
Azat Khuzhin
a95d864a3f Bump libcxx to fix extern "C" at the middle of the line in gcc10 2020-12-16 21:31:03 +03:00
ana-uvarova
60b916fe0b polishing links 2020-12-16 21:24:06 +03:00
nikitamikhaylov
23270915d3 better 2020-12-16 21:03:39 +03:00
Alexander Kuzmenkov
170cd132da
Merge pull request #18113 from azat/tld-list-symlink-fix
Avoid using symlinks for top_level_domains
2020-12-16 20:49:43 +03:00