Commit Graph

34011 Commits

Author SHA1 Message Date
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
ee6ec8bb69
Merge pull request #8722 from ClickHouse/replxx-correct-config
Replxx correct config
2020-01-19 03:28:25 +03:00
Alexey Milovidov
db1bb630e0 Fixed configuration of replxx 2020-01-19 03:23:35 +03:00
Alexey Milovidov
4dd7bb7c50 Fixed configuration of replxx 2020-01-19 03:18:25 +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
160b95e105
Merge pull request #8715 from ClickHouse/readline-to-replxx-docs-and-corrections
Replace readline to replxx: docs and corrections
2020-01-18 20:59:31 +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
d4ea0ba97f Fixed bug in documentation #8660 2020-01-18 20:24:52 +03:00
alexey-milovidov
e51450ec74
Merge pull request #8660 from BayoNet/l10n/CLICKHOUSEDOCS-395-ORC-format
DOCS-395: ORC format support. EN review. RU translation.
2020-01-18 20:23:31 +03:00
alexey-milovidov
39bcbde8f1
Merge pull request #8662 from BayoNet/l10n/CLICKHOUSEDOCS-508-faq-export-to-file
DOCS-508: FAQ: How export to file? EN review, RU translation.
2020-01-18 20:21:31 +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
7e1084f42f
Merge pull request #8691 from BayoNet/en-docs/CLICKHOUSEDOCS-496-roundBankers
DOCS-496: roundBankers
2020-01-18 20:15:49 +03:00
alexey-milovidov
33cbe86faa
Merge pull request #8700 from lalex/master
Docs: add X-ClickHouse-User header auth example
2020-01-18 20:14:33 +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
bf0a920e48
Update extended_roadmap.md 2020-01-18 19:58:26 +03:00
Alexey Milovidov
52f81ce3a5 Update roadmap 2020-01-18 19:54: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
8313c52dd6 Merge branch 'abyss7-replxx' 2020-01-18 18:25:10 +03:00
Alexey Milovidov
0104cbaa19 Fixed error in Suggest 2020-01-18 18:23:59 +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
3015f38a29
Merge pull request #8707 from ClickHouse/aku/log-hotfix
Avoid stale log files.
2020-01-18 04:45:39 +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
3f9f262734 Simplification and bugfix 2020-01-18 03:02:54 +03:00