Commit Graph

64450 Commits

Author SHA1 Message Date
Azat Khuzhin
92632bf0c1 Fix isLocalAddress() (ifa_addr maybe NULL)
From getifaddrs(3):

    The ifa_addr field points to a structure containing the interface
    address.  (The sa_family subfield should be consulted to
    determine the format of the address structure.)  This field may
    contain a null pointer.

I have the problem with tun0, that creates points-to-point address, so
getifaddrs() returns NULL ifa_addr for one of addrs for tun0.
You can check this, using this simple example - [1].

  [1]: https://gist.github.com/azat/cc667d145bc74215c40cdbb69f38189b
2021-05-20 00:04:11 +03:00
Anton Popov
8718044dbd fix style check 2021-05-19 23:25:55 +03:00
Anton Popov
cd37cd32ef fix StorageLog with subcolumns 2021-05-19 23:07:46 +03:00
alexey-milovidov
57348632dc
Merge pull request #24196 from Algunenano/gcc11_compat
Gcc11 compatibility
2021-05-19 22:20:22 +03:00
mergify[bot]
839079f8b1
Merge branch 'master' into aku/fuzzer-connection-loss 2021-05-19 19:02:53 +00:00
Alexander Tokmakov
2996e7c072 fix rename matview 2021-05-19 21:53:31 +03:00
alesapin
8c4f811152 One more error to retry 2021-05-19 21:35:05 +03:00
Maksim Kita
9982f05e4d
Merge pull request #24284 from kitaisreal/fix-arcadia-after-function-refactoring
Fixed Arcadia after IFunctionOverloadResolver interface refactoring
2021-05-19 21:13:01 +03:00
Maksim Kita
637ed4f174
Merge pull request #24295 from isae/patch-1
Fix typo in documentation
2021-05-19 20:59:37 +03:00
Maksim Kita
8e68d007f3 Fixed tests 2021-05-19 20:57:07 +03:00
Amos Bird
c68ef31065
Skip data finalization when doing projection materialization. 2021-05-20 00:28:50 +08:00
huzhichengdd
8bd7485ccf
Update interval.md 2021-05-20 00:13:33 +08:00
Anton Popov
a06f2fed9a serializations: fix mutations 2021-05-19 19:09:04 +03:00
Илья Исаев
89f79215ae
Fix typo 2021-05-19 18:50:52 +03:00
Nikolai Kochetov
e8f8b2ba18
Merge pull request #24162 from amosbird/projection-fix2
Fix add projection to replicated mergetree
2021-05-19 18:07:52 +03:00
Alexander Kuzmenkov
54ee3a4e48 space 2021-05-19 18:01:11 +03:00
Maksim Kita
f3164a6bc0 IFunction updated Exception throw 2021-05-19 17:58:23 +03:00
feng lv
9de7399737 update
fix test
2021-05-19 14:51:54 +00:00
Alexander Kuzmenkov
d6e357d78c consolidate connection loss handling in fuzzer 2021-05-19 17:36:01 +03:00
Maksim Kita
c50909468f Updated ExpressionActionSettings 2021-05-19 17:32:07 +03:00
Maksim Kita
218f534a6f
Merge pull request #24100 from Enmk/fix_DateTime64_vs_DateTime_in_WHERE
Fix DateTime64 column vs DateTime value in where
2021-05-19 17:27:28 +03:00
alesapin
301dc848f5 Merge branch 'master' into nvartolomei-parts-move 2021-05-19 17:17:01 +03:00
feng lv
d92b1f0e9a Fix mutation of StorageMemory
fix

fix
2021-05-19 14:15:50 +00:00
Ivan Lezhankin
33f816d28d Allow empty HTTP headers 2021-05-19 16:20:23 +03:00
Alexander Kuzmenkov
e9b69bbd70
Merge pull request #23906 from azat/fix-distributed_group_by_no_merge
distributed_group_by_no_merge fixes
2021-05-19 16:16:08 +03:00
Alexander Kuzmenkov
09cb467812
Update StorageDistributed.cpp 2021-05-19 16:14:33 +03:00
Maksim Kita
0ca9ba19c0 Remove performance test 2021-05-19 16:14:28 +03:00
Maksim Kita
9699299083 Fix build 2021-05-19 16:11:38 +03:00
Maksim Kita
f80f6b130c
Merge pull request #24266 from huzhichengdd/patch-11
Update backup.md
2021-05-19 16:04:52 +03:00
alesapin
a6a65b4d42
Merge pull request #24249 from ClickHouse/fix_retry_in_clickhousetest
One more attempt to fix retries in clickhouse-test
2021-05-19 15:58:03 +03:00
Maksim Kita
5a359a15bc Fixed Arcadia after IFunctionOverloadResolver interface refactoring 2021-05-19 15:57:37 +03:00
Nikolai Kochetov
9f28d0966a Fix typos. 2021-05-19 15:43:10 +03:00
Nikolai Kochetov
c07043fd97 Try fix more cases. 2021-05-19 15:16:18 +03:00
Nikita Mikhaylov
87eedfded8
Merge pull request #24282 from nikitamikhaylov/fix-arcadia-7
Fix arcadia
2021-05-19 14:45:45 +03:00
Nikita Mikhaylov
aa58fc096c done 2021-05-19 14:44:39 +03:00
huzhichengdd
a2fa599e03
Update backup.md 2021-05-19 19:15:21 +08:00
huzhichengdd
d311e8142d
Update backup.md 2021-05-19 19:12:45 +08:00
alesapin
869aa49853 Even more lightweight test 2021-05-19 13:47:24 +03:00
Nikolai Kochetov
a954e01897
Update 01710_projection_fetch.sql 2021-05-19 13:46:09 +03:00
Nikolai Kochetov
9d152a3c4d
Update src/Interpreters/ClusterProxy/SelectStreamFactory.cpp
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-05-19 13:40:46 +03:00
Nikolai Kochetov
0b8bf34aba
Merge pull request #24256 from ClickHouse/log-exception-for-allocator-free
Log exception in Allocator::free
2021-05-19 13:39:39 +03:00
Nikolai Kochetov
c6800c67f5
Merge pull request #24205 from ClickHouse/integration-server-restart-increase-tiomeout
Increase timeout for server restart in integration tests.
2021-05-19 13:38:51 +03:00
Evgeniia Sudarikova
ff6fb148a5 edited RU 2021-05-19 13:37:52 +03:00
Alexander Kuzmenkov
bcf85a6bc5 Merge remote-tracking branch 'origin/master' into HEAD 2021-05-19 13:25:58 +03:00
Alexander Kuzmenkov
6afd9f84f1 longer 2021-05-19 13:25:43 +03:00
feng lv
5e4cde8540 fix 2021-05-19 10:24:53 +00:00
Evgeniia Sudarikova
5d6c6fe4c4 edited EN, added RU 2021-05-19 13:21:34 +03:00
alesapin
4d6c71801c
Merge branch 'master' into nv/parts-uuid-move-shard 2021-05-19 13:03:14 +03:00
alesapin
de4fad63e9 Merge branch 'master' into fix_retry_in_clickhousetest 2021-05-19 12:43:06 +03:00
Maksim Kita
3d94798d9d Remove comment 2021-05-19 11:45:31 +03:00