Azat Khuzhin
cbebb94f25
Fix ryu_test compilation (missing <cstring> for memcpy) with libstdc++
...
libc++ has <cstring> in <string> while libstdc++ does not:
$ fgrep -r '#include <cstring>' /usr/include/c++/v1/
/usr/bin/../include/c++/v1/vector:#include <cstring>
/usr/bin/../include/c++/v1/ext/__hash:#include <cstring>
/usr/bin/../include/c++/v1/memory:#include <cstring>
/usr/bin/../include/c++/v1/algorithm:#include <cstring>
/usr/bin/../include/c++/v1/string:#include <cstring>
/usr/bin/../include/c++/v1/utility:#include <cstring>
$ fgrep -r '#include <cstring>' /usr/include/c++/9.2.0/
/usr/include/c++/9.2.0/experimental/buffer:#include <cstring>
/usr/include/c++/9.2.0/regex:#include <cstring>
/usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:#include <cstring>
/usr/include/c++/9.2.0/x86_64-pc-linux-gnu/32/bits/stdc++.h:#include <cstring>
$ clang++ -stdlib=libc++ -o /dev/null -c /tmp/test.cpp
/tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
return memcpy(0, 0, 0);
~ ^
/tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
return memcpy(0, 0, 0);
~ ^
2 warnings generated.
$ clang++ -o /dev/null -c /tmp/test.cpp
/tmp/test.cpp:7:16: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
return memcpy(0, 0, 0);
^~~~~~
wmemcpy
/usr/include/wchar.h:262:17: note: 'wmemcpy' declared here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
^
1 error generated.
2020-01-19 14:14:41 +03:00
alexey-milovidov
c711ce500b
Merge pull request #8422 from excitoon-favorites/bettertestalterttl
...
Fixed `ALTER MODIFY TTL`
2020-01-19 04:53:11 +03:00
alexey-milovidov
36a7a40a08
Merge pull request #8718 from Akazz/fixing_ternary_logic_for_batches
...
Fixed ternary logic (OR/AND/XOR) calculation in multiple batches
2020-01-19 04:49:04 +03:00
Alexey Milovidov
db1bb630e0
Fixed configuration of replxx
2020-01-19 03:23:35 +03:00
Alexey Milovidov
47f6156ad8
Correct configuration of replxx
2020-01-19 03:01:49 +03:00
alexey-milovidov
7583f8744a
Merge branch 'master' into bettertestalterttl
2020-01-19 01:03:25 +03:00
alexey-milovidov
93887371f3
Merge pull request #8716 from ClickHouse/bitCount-perf-test
...
Added performance test for bitCount function
2020-01-19 00:05:57 +03:00
Alexander Kazakov
be091a5133
Tiny optimization
2020-01-19 00:03:45 +03:00
Alexander Kazakov
f29db2ed68
Fixed problem with calculating ternary logic OPs in multiple batches
2020-01-19 00:02:43 +03:00
Alexander Kazakov
b2fd151dd0
More stable XorImpl code for XOR
2020-01-18 23:49:12 +03:00
Alexander Kazakov
0f22b5ec85
Fixed "newlines"
2020-01-18 23:45:41 +03:00
Alexander Kazakov
5fb75b3b9e
Added tests for batched logical OPs
2020-01-18 23:35:12 +03:00
Alexey Milovidov
f9e1f25189
Added comment to DiskMemory
2020-01-18 22:15:21 +03:00
alexey-milovidov
2ba89d169e
Merge branch 'master' into readline-to-replxx-docs-and-corrections
2020-01-18 20:58:24 +03:00
alexey-milovidov
52e8252653
Merge pull request #8650 from ClickHouse/remove_istorage_weak_ptr
...
Get rid of StorageWeakPtr
2020-01-18 20:28:53 +03:00
alexey-milovidov
3f3a9e69b0
Merge pull request #8672 from excitoon/patch-7
...
Fixed `MergeTreeData::areBackgroundMovesNeeded` according to move TTL feature
2020-01-18 20:20:00 +03:00
alexey-milovidov
85f395a8ee
Merge pull request #8680 from excitoon-favorites/criticalbugwithmove
...
Fixed a bug with double move which corrupt original part
2020-01-18 20:19:03 +03:00
alexey-milovidov
86a062110d
Merge pull request #8704 from kreuzerkrieg/MoreGCCWarnings
...
Enable -Wmissing-include-dirs for GCC
2020-01-18 20:12:56 +03:00
Alexey Milovidov
157e6539de
Added performance test for bitCount function
2020-01-18 18:50:18 +03:00
alexey-milovidov
0ceed79d4e
Merge pull request #8710 from ClickHouse/ifNotFinite
...
Added function 'ifNotFinite'
2020-01-18 18:47:22 +03:00
Alexey Milovidov
c0a5c664a9
Replace readline to replxx: docs and corrections
2020-01-18 18:44:08 +03:00
Alexey Milovidov
f7efa5e2c7
Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx
2020-01-18 17:00:59 +03:00
Alexey Milovidov
eeea89e0a4
Added test
2020-01-18 16:06:19 +03:00
Alexey Milovidov
71763c9ab6
Fixed error
2020-01-18 16:06:02 +03:00
alexey-milovidov
3fe83a1006
Merge pull request #8708 from ClickHouse/bitCount
...
Added function bitCount
2020-01-18 14:37:08 +03:00
alexey-milovidov
3e680b59ee
Merge pull request #8709 from ClickHouse/client-clusters-in-suggest
...
Added cluster names to suggestions in interactive mode in clickhouse-client
2020-01-18 14:36:43 +03:00
alexey-milovidov
3f603b7141
Merge pull request #8711 from ClickHouse/speedup-exception-while-insert-test
...
Speedup "exception while insert" test
2020-01-18 14:33:32 +03:00
alexey-milovidov
b93309f1e2
Merge pull request #8712 from ClickHouse/benchmark-dont-interpolate-quantiles
...
Do not interpolate quantiles in clickhouse-benchmark
2020-01-18 14:33:03 +03:00
alexey-milovidov
e587e1baf8
Merge pull request #8713 from ClickHouse/join-add-test-just-in-case
...
Added a test from Bindu Madhavi
2020-01-18 14:30:28 +03:00
alexey-milovidov
e78a08cbaf
Merge pull request #8705 from ClickHouse/array-zip-mixed-const-fix
...
Fixed the case of mixed-constness of arguments of function arrayZip
2020-01-18 14:17:53 +03:00
kreuzerkrieg
0bf3ea4247
Enable -Wmissing-include-dirs for GCC
2020-01-18 10:46:27 +02:00
Alexey Milovidov
c152df4ed5
Added a test from Bindu Madhavi
2020-01-18 05:47:55 +03:00
Alexey Milovidov
9b5121d92e
Do not interpolate quantiles in clickhouse-benchmark
2020-01-18 05:28:07 +03:00
Alexey Milovidov
9983835c8e
Speedup "exception while insert" test
2020-01-18 04:52:01 +03:00
Alexey Milovidov
27b5f47282
Added function ifNotFinite
2020-01-18 04:07:11 +03:00
Alexey Milovidov
d270fb69b5
Added cluster names to suggestions in interactive mode in clickhouse-client
2020-01-18 03:32:16 +03:00
alexey-milovidov
90faa6ed5f
Update bitCount.cpp
2020-01-18 01:05:27 +03:00
alexey-milovidov
ec46c68a32
Update bitCount.cpp
2020-01-18 01:05:09 +03:00
Alexey Milovidov
8af3dda0bb
Added comments
2020-01-17 23:00:46 +03:00
Alexey Milovidov
da1b51a496
Added function bitCount #8702
2020-01-17 22:57:03 +03:00
Alexander Kuzmenkov
8de0f4fc34
Avoid stale log files.
...
When the logging configuration changes, the logging-related data
structures on the server are not properly updated. This leads to a bug
where logs are written to old files, and it is impossible to fix without
restarting the server. The log file grows indefinitely and eventually
makes the server run out of disk space (see #8696 ). To avoid
catastrophic consequences, require that the server is restarted to apply
logging configuration changes, until the proper fix is developed.
2020-01-17 22:27:41 +03:00
Alexey Milovidov
3dec67ca6d
Fixed the case of mixed-constness of arguments of function arrayZip
2020-01-17 22:16:02 +03:00
Vladimir Chebotarev
e7fb7d1288
Improved areBackgroundMovesNeeded()
method.
2020-01-17 16:30:54 +03:00
Vladimir Chebotarev
0ba869a1ca
Fixed MergeTreeData::areBackgroundMovesNeeded
according to move TTL feature.
2020-01-17 16:24:44 +03:00
Vladimir Chebotarev
cb416b0bfd
Minor review fixes.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
87ac7c59df
Added concurrent test for ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
4f1f9e7e42
Fixed concurrency problems in ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
89d74a599b
Fixed test_ttl_move::test_ttls_do_not_work_after_alter
a little bit.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
585e0453a6
Added clearing of old DELETE expression during ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00
Vladimir Chebotarev
17dfea217b
Fixed errors with ALTER MODIFY TTL
.
2020-01-17 16:17:17 +03:00