alexey-milovidov
624be3679b
Merge branch 'master' into mysql
2019-12-09 04:53:30 +03:00
alexey-milovidov
0d278b414c
Merge pull request #8046 from amosbird/interpose
...
Interpose malloc symbols entirely.
2019-12-09 04:33:49 +03:00
alexey-milovidov
abb823af7f
Merge pull request #8079 from yurriy/mysql-types-test
...
Fixed Float64 conversion in MySQL protocol
2019-12-09 04:32:22 +03:00
alexey-milovidov
a3c6402e8b
Added perf test for collations ( #8087 )
2019-12-09 04:23:58 +03:00
Alexey Milovidov
b5e05d761b
Whitespace
2019-12-09 04:15:42 +03:00
Alexey Milovidov
eca601239f
Removed a test with typo in its name
2019-12-09 00:37:04 +03:00
alexey-milovidov
7e8b177a3b
Merge pull request #8077 from nvartolomei/nv/system-query-parser
...
Fix SYSTEM query parser suggestions
2019-12-09 00:04:14 +03:00
alexey-milovidov
cf194edfaf
Merge pull request #8016 from filimonov/kafka_fixes
...
Kafka fixes
2019-12-09 00:03:36 +03:00
alexey-milovidov
ee7d675f86
Update KafkaBlockInputStream.cpp
2019-12-09 00:03:09 +03:00
alexey-milovidov
a7f5ac7099
Merge pull request #8081 from errx/master
...
Added new function JSONExtractArrayRaw
2019-12-08 23:52:56 +03:00
alexey-milovidov
21a7a53491
Update FunctionsJSON.h
2019-12-08 23:48:34 +03:00
alexey-milovidov
16754bfff5
Merge pull request #8043 from excitoon-favorites/systemmergespaths
...
Added information about paths to `system.merges`.
2019-12-08 23:30:39 +03:00
Oleg Matrokhin
8ea7cab7e4
simplify expression
2019-12-08 18:07:06 +03:00
Oleg Matrokhin
2cab90b9f4
fmt
2019-12-08 17:36:31 +03:00
Oleg Matrokhin
36303a82f7
add tests
2019-12-08 17:24:37 +03:00
alesapin
af7b8f9274
Merge pull request #8051 from ClickHouse/fix_collations_behaviour
...
Fix several bugs with collations.
2019-12-08 11:10:23 +03:00
Yuriy
e0796261aa
mysql protocol: fixed Float32 conversion and added types test
2019-12-08 08:40:08 +03:00
Oleg Matrokhin
10cf9e5b9f
implement new function
2019-12-08 03:18:24 +03:00
Nicolae Vartolomei
f5e764eba1
Fix SYSTEM query parser suggestions
2019-12-07 23:05:57 +00:00
Vladimir Chebotarev
984e81876a
Fixed Clang build.
2019-12-07 22:30:37 +03:00
Vladimir Chebotarev
bb0de2509a
Fixed test_system_merges/test.py::test_mutation_simple[replicated]
test.
2019-12-07 22:23:25 +03:00
Vladimir Chebotarev
c60493fe72
Fixed test_system_merges/test.py::test_merge_simple[replicated]
test.
2019-12-07 22:02:01 +03:00
alesapin
2fffe2802f
Review fixes
2019-12-07 16:13:14 +03:00
Vladimir Chebotarev
ed2ec2d15d
Fixed test_system_merges
to correctly check replicated node set.
2019-12-07 13:35:13 +03:00
Vladimir Chebotarev
1513e5a854
Added replicated tests for system.merges
.
2019-12-07 13:15:01 +03:00
Vladimir Chebotarev
1fbfb50fba
Fixed updating result_part_path
while merging and mutating.
2019-12-07 12:54:05 +03:00
Vladimir Chebotarev
b64b2cff09
Added simple non-replicated tests for system.merges
.
2019-12-07 11:40:49 +03:00
alesapin
b9591a8bb4
Fix variable scope
2019-12-07 11:17:01 +03:00
Vladimir Chebotarev
05a05b5fb6
Fixed result_part_part
of a mutation.
2019-12-07 11:10:08 +03:00
alesapin
5b828a6cbf
Better test
2019-12-07 01:25:14 +03:00
alesapin
3881a85c39
Review fixes
2019-12-07 01:22:12 +03:00
alexey-milovidov
56b2ec8b4a
Merge pull request #7693 from millb/hashes_from_values_of_UUID_type
...
Created cityHash for decimal and UUID types.
2019-12-07 00:30:28 +03:00
alexey-milovidov
113ddb2588
Update FunctionsHashing.h
2019-12-06 22:21:22 +03:00
alexey-milovidov
1c1351d644
Update FunctionsHashing.h
2019-12-06 22:19:19 +03:00
alexey-milovidov
e0aa12717b
Update FunctionsHashing.h
2019-12-06 22:18:47 +03:00
alexey-milovidov
bef3a0d2d2
Merge pull request #8071 from azat/Connection-sendCancel-SIGSEGV
...
Avoid null dereference after "Unknown packet X from server"
2019-12-06 22:15:18 +03:00
alexey-milovidov
36203721de
Update Connection.cpp
2019-12-06 22:14:27 +03:00
millb
6799feaba6
Merge branch 'hashes_from_values_of_UUID_type' of github.com:millb/ClickHouse into hashes_from_values_of_UUID_type
2019-12-06 22:08:40 +03:00
millb
b13cd85613
Applied the required changes
2019-12-06 22:08:21 +03:00
Azat Khuzhin
e4209d6a3f
Avoid null dereference after "Unknown packet X from server"
...
stracktrace:
...
2 DB::WriteBuffer::nextIfAtEnd (this=0x0) at ../dbms/src/IO/WriteBuffer.h:66
3 DB::writeVarUInt (ostr=..., x=3) at ../dbms/src/IO/VarInt.h:191
4 DB::Connection::sendCancel (this=0x7f0b7f5e5610) at ../dbms/src/Client/Connection.cpp:444
5 0x0000561738d0b565 in DB::MultiplexedConnections::sendCancel (this=0x7f0c9b0173e0) at ../dbms/src/Client/MultiplexedConnections.cpp:174
6 0x00005617387d22df in DB::RemoteBlockInputStream::tryCancel (this=0x7f0cc45f9810, reason=<optimized out>) at /usr/include/c++/9/bits/unique_ptr.h:352
7 0x00005617387d2a37 in DB::RemoteBlockInputStream::cancel (this=<optimized out>, kill=false) at ../dbms/src/DataStreams/RemoteBlockInputStream.cpp:121
8 0x000056173891f10c in DB::ParallelInputsProcessor<DB::UnionBlockInputStream::Handler>::cancel (this=0x7f0c370ec168, kill=kill@entry=false)
9 0x000056173892cfce in DB::UnionBlockInputStream::cancel (kill=false, this=<optimized out>) at ../dbms/src/DataStreams/UnionBlockInputStream.h:99
10 DB::UnionBlockInputStream::Handler::onException (this=0x7f0c370ec160, exception=...) at ../dbms/src/DataStreams/UnionBlockInputStream.h:240
11 DB::ParallelInputsProcessor<DB::UnionBlockInputStream::Handler>::thread (this=0x7f0c370ec168, thread_group=..., thread_num=<optimized out>)
at ../dbms/src/DataStreams/ParallelInputsProcessor.h:217
And in onException frame there is:
(gdb) p ((DB::Exception *)exception._M_exception_object)._msg._M_dataplus._M_p
$6 = (...) 0x7f0c9b1e7a40 "Unknown packet 9 from server HOSTNAME:PORT"
And on "Unknown packet" there is disconnect() before, see default in
switch statement at Connection::receivePacket().
2019-12-06 21:55:17 +03:00
Mikhail Korotov
688ca7bfde
performance test added
2019-12-06 21:10:03 +03:00
Mikhail Korotov
f63fe65e53
Simple tests added
2019-12-06 20:23:41 +03:00
Mikhail Korotov
3528555174
Update FunctionsHashing.h
2019-12-06 19:33:37 +03:00
Amos Bird
971770a040
Interpose malloc symbols entirely.
2019-12-07 00:32:00 +08:00
Mikhail Korotov
5a1ad17736
Update FunctionsHashing.h
2019-12-06 19:30:46 +03:00
millb
c801845185
Applied the required changes
2019-12-06 19:27:45 +03:00
millb
e3426e39e8
Fixed bugs
2019-12-06 18:43:50 +03:00
Vxider
47f8d9713a
build fix
2019-12-06 23:35:23 +08:00
millb
41008c9cca
Merge branch 'master' into hashes_from_values_of_UUID_type
2019-12-06 18:22:06 +03:00
millb
56c7e53bdc
Changes applied
2019-12-06 18:21:58 +03:00