Commit Graph

34026 Commits

Author SHA1 Message Date
Alexey Milovidov
d159570309 Added a test for fun 2020-01-19 22:09:03 +03:00
Alexey Milovidov
7eb35a61ac Minor changes in CMakeLists 2020-01-19 20:09:58 +03:00
Alexey Milovidov
51d0d7691c Fixed "unbundled" build 2020-01-19 20:08:37 +03:00
alexey-milovidov
7e0b28d9ef
Merge pull request #8726 from yurriy/mysql-protocol-docs
MySQL compatibility server docs
2020-01-19 16:22:55 +03:00
alexey-milovidov
9e1ab408f6
Merge pull request #8728 from Akazz/fixing_ternary_logic_for_batches
A followup to #8718: Simpler and faster code in logical functions
2020-01-19 16:22:30 +03:00
alexey-milovidov
c2e95c008e
Merge pull request #8724 from yurriy/less-mysql-logging
Proper logging levels in MySQL compatibility server
2020-01-19 16:19:30 +03:00
Alexey Milovidov
98d393c957 Fixed LineReader 2020-01-19 15:26:49 +03:00
alexey-milovidov
9fa877341b
Merge pull request #8719 from ClickHouse/bitCount-improve-performance
Reasonable performance for function bitCount
2020-01-19 15:23:32 +03:00
alexey-milovidov
d211bc06f9
Merge pull request #8729 from azat/ryu_test_libstdcxx
Fix ryu_test compilation (missing <cstring> for memcpy) with libstdc++
2020-01-19 15:18:11 +03:00
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
Alexander Kazakov
bffd66fcba More effective code + some cleanup 2020-01-19 09:22:01 +03:00
Yuriy
5f806e7a39 better docs 2020-01-19 09:10:15 +03:00
Alexander Kazakov
3b6499cce9 Made code in OperationApplier more generic 2020-01-19 09:07:30 +03:00
Yuriy
7895966804 initial MySQL compatibility server docs 2020-01-19 08:57:21 +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
Yuriy
6f4431b79f proper logging levels 2020-01-19 01:19:06 +00: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
28ad3b46da Reasonable performance for function bitCount 2020-01-19 00:59:07 +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