myrrc
da9502e496
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-28 15:06:39 +03:00
alexey-milovidov
da32e62daa
Fix comment (tnx Pavel Belikov) ( #12957 )
2020-07-28 11:58:26 +03:00
myrrc
61ef8852a1
reverting explicit fix
2020-07-22 23:13:57 +03:00
myrrc
586ecf0a0b
fixed 2 explicit constructors
2020-07-22 23:10:12 +03:00
myrrc
1d0bf93444
added perftest, fixed style check and PVS bugs
2020-07-22 22:44:11 +03:00
myrrc
222eb7fba3
fixed result column overwriting
2020-07-22 16:18:21 +03:00
Alexey Milovidov
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +03:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
...
Update simdjson
2020-07-20 10:15:38 +03:00
Vitaly Baranov
61e43c3ef9
Make conversion std::string_view => StringRef explicit.
2020-07-19 12:50:24 +03:00
Alexander Kuzmenkov
f785837b1d
Merge pull request #12518 from ClickHouse/aku/android
...
Some provisions for Android build
2020-07-15 22:05:41 +03:00
Alexander Kuzmenkov
3e6b9f297f
Some provisions for Android build
2020-07-15 14:16:00 +03:00
Alexey Milovidov
360bf61639
Fix error
2020-07-13 03:45:18 +03:00
Alexey Milovidov
f2fe419ca9
Saturate negative unix timestamp to zero instead of overflow
2020-07-13 01:48:22 +03:00
Alexey Milovidov
d07af62370
Log sanitizer trap messages from separate thread
2020-07-09 05:00:48 +03:00
alexey-milovidov
4f63af957d
Merge pull request #12145 from ClickHouse/fix-suggest-word-break-chars
...
Remove underscore as word-break character.
2020-07-06 08:51:35 +03:00
alexey-milovidov
1719ab1ec5
Merge pull request #12041 from azat/curl-proper-cmake
...
Rewrite curl dependency in a more ch compatible way
2020-07-06 06:31:51 +03:00
Alexey Milovidov
5eb60d5bd3
Remove underscore as word-break character. This partially reverts #11975
2020-07-06 01:16:32 +03:00
Alexey Milovidov
10c40f4b11
Attempt to fix "Arcadia" build
2020-07-05 03:48:00 +03:00
Alexey Milovidov
96e8e93c64
Fix warnings from CodeQL
2020-07-05 02:16:16 +03:00
Alexey Milovidov
176a7f2f72
Normalize "pid" file handling #3501
2020-07-04 16:54:24 +03:00
Azat Khuzhin
0700a705bc
Rewrite curl dependency in a more ch compatible way
...
- add support of unbundled curl
- add CURL::libcurl libraries
- avoid explicit linkage of daemon with curl (added with sentry)
- set CACHE variables for non-direct users:
- mariadb-connector-c
- aws-s3-cmake
- sentry-native
Cc: @alexey-milovidov
Cc: @alesapin (requires docker image update)
Cc: @abyss7
Refs: #11300
Refs: #8011
Refs: #8905
v2: replace cmake/find/curl.cmake with proper contrib/curl-cmake (as
pointed by @abyss7, cmake/find/*.cmake is deprecated)
2020-07-03 00:57:08 +03:00
alexey-milovidov
77c4861430
Merge pull request #11975 from oandrew/fix-word-breaks
...
Extend word break config to all non-alphanumeric chars
2020-06-27 19:13:44 +03:00
Andrew Onyshchuk
80c0676031
Extend word break config to all non-alphanumeric chars
2020-06-25 20:36:09 -05:00
Ivan Blinkov
db568b477e
lost unused
2020-06-24 11:12:47 +03:00
Ivan Blinkov
3ed76a388e
send build_id to sentry as well + fix some minor issues
2020-06-24 00:27:04 +03:00
Ivan Blinkov
45d1ca2567
merge master
2020-06-24 00:18:16 +03:00
Ivan Blinkov
87d56d700f
restore old toStringImpl signature
2020-06-24 00:15:54 +03:00
Alexey Milovidov
b50b4b14de
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-22 15:48:46 +03:00
Ivan Blinkov
2c0ff29c48
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-22 10:06:36 +03:00
Alexey Milovidov
fe71a8eb8c
Merge branch 'master' into send-logs-on-fatal-errors
2020-06-21 13:55:11 +03:00
Alexey Milovidov
ea35829481
Fix build
2020-06-21 13:46:41 +03:00
Alexey Milovidov
7f05d2bac0
Merge branch 'master' into print-build-id
2020-06-21 13:44:32 +03:00
alexey-milovidov
45fbc96f19
Merge pull request #11827 from ClickHouse/remove-tzdata-dependency
...
Remove dependency on tzdata
2020-06-21 00:20:01 +03:00
Alexey Milovidov
581d1a4470
Fix build
2020-06-20 21:05:44 +03:00
Alexey Milovidov
6eda152726
Remove dependency on tzdata
2020-06-20 15:26:44 +03:00
Alexey Milovidov
b2d1e08dd6
Fix build
2020-06-20 14:31:38 +03:00
Alexey Milovidov
7ba25bd799
Make it work
2020-06-20 14:17:15 +03:00
Alexey Milovidov
beae4d5db1
Fix sleep in signal handler
2020-06-20 13:15:53 +03:00
Alexey Milovidov
9f42e81ef9
Send logs on fatal errors (development)
2020-06-20 13:10:18 +03:00
Alexey Milovidov
2897a54072
Fix build
2020-06-20 12:17:31 +03:00
Alexey Milovidov
7fcdfa1f88
Print build id on startup
2020-06-20 12:13:11 +03:00
Alexey Milovidov
ead4a2cfd9
Print build id in crash messages
2020-06-20 12:07:05 +03:00
Ivan Blinkov
102628ff09
remove extra line
2020-06-17 10:54:06 +03:00
Ivan Blinkov
8b50e3450b
move the default endpoint to config
2020-06-16 23:01:15 +03:00
Ivan Blinkov
1fd0f0ff07
Merge branch 'sentry' of github.com:blinkov/ClickHouse into sentry
2020-06-16 16:02:44 +03:00
Ivan Blinkov
0e77692a27
improvements after review comments
2020-06-16 15:56:28 +03:00
alexey-milovidov
92c7760c6e
Update CMakeLists.txt
2020-06-16 02:51:33 +03:00
alexey-milovidov
977fd3e44f
Update CMakeLists.txt
2020-06-16 02:45:05 +03:00
Ivan Blinkov
395ef1ecaf
experiment
2020-06-12 09:35:31 +03:00
Ivan Blinkov
e92641858e
fixes
2020-06-12 01:00:35 +03:00
Ivan Blinkov
bbeb768a19
use the sentry logger hook
2020-06-11 21:12:48 +03:00
Ivan Blinkov
fa47fc3f30
fix address formatting
2020-06-11 15:34:02 +03:00
Ivan Blinkov
5fa4401991
fix
2020-06-10 21:18:34 +03:00
Ivan Blinkov
0a74c9373e
less confusing
2020-06-10 19:48:08 +03:00
Ivan Blinkov
60b40f0403
Lost part of refactoring
2020-06-10 17:51:25 +03:00
Ivan Blinkov
6191d33bd9
Do not cache frames inside StackTrace
2020-06-10 16:30:12 +03:00
Ivan Blinkov
6f7064928f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 19:07:57 +03:00
Ivan
47ad338cb2
Refactor CMake build files ( #11390 )
...
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
Ivan Blinkov
5b3fef526e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-09 11:51:29 +03:00
Alexey Milovidov
9b53cb052f
Limit stack frame size in tests
2020-06-09 01:45:38 +03:00
Matwey V. Kornilov
269bf6f5ef
Fix missed #include <functional>
...
<functional> is required for std::hash
2020-06-08 19:25:21 +03:00
Matwey V. Kornilov
339703d1b8
Fix missed #include <utility>
...
<utility> is required for std::move
2020-06-08 18:03:54 +03:00
alexey-milovidov
ce4f528b73
Merge branch 'master' into kuskarov-add_syntax_highlighting
2020-06-08 02:14:09 +03:00
Alexey Milovidov
df19db1509
Added a test for history in clickhouse-client
2020-06-07 20:29:34 +03:00
alexey-milovidov
6b97fd6378
Update ReplxxLineReader.cpp
2020-06-06 12:51:42 +03:00
alexey-milovidov
7003fe8258
Update ReplxxLineReader.cpp
2020-06-06 12:49:15 +03:00
Ivan Blinkov
653a9afda0
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-05 22:51:28 +03:00
Alexey Milovidov
e1b5ee51c1
Better way to plug in the code
2020-06-05 01:45:04 +03:00
Alexey Milovidov
275075b6f7
Revert all changes but save commit history from @kuskarov
2020-06-05 01:44:29 +03:00
Tagir Kuskarov
d0312bf1fe
Fix
2020-06-05 02:36:40 +04:00
Alexey Milovidov
fcd7fd8e7c
Updates for #11422
2020-06-05 01:31:19 +03:00
Tagir Kuskarov
d916d0849d
Add diagnostic messages
2020-06-05 02:10:22 +04:00
Tagir Kuskarov
83ba86c5f6
Fix history bug
2020-06-05 01:31:51 +04:00
Tagir Kuskarov
fed90652c9
Move files
2020-06-04 05:04:57 +04:00
Ivan Blinkov
921b7c7480
partial revert
2020-06-02 22:25:34 +03:00
Ivan Blinkov
711e7d101d
experiment
2020-06-02 21:50:55 +03:00
Tagir Kuskarov
643c3cd153
Add syntax highlighting first version
2020-06-02 16:08:09 +04:00
Ivan Blinkov
280eea1e12
fix compiling when disabled
2020-06-02 10:33:11 +03:00
Ivan Blinkov
40f6e559e2
fix compiling when disabled
2020-06-02 08:29:29 +03:00
alexey-milovidov
73a05d9b6d
Update LineReader.h
2020-06-02 06:30:00 +03:00
Alexey Milovidov
38829beb1c
Minor updates
2020-06-02 06:28:59 +03:00
Alexey Milovidov
1bbbfc6e1b
Fix \G in clickhouse-client multiline mode #9933
2020-06-02 06:25:19 +03:00
Ivan Blinkov
e9a04f7741
more build fixes
2020-06-01 23:48:42 +03:00
Ivan Blinkov
6bd4282727
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-01 21:49:56 +03:00
Ivan Blinkov
1797a47a9f
fix clang warnings
2020-06-01 21:25:25 +03:00
Alexey Milovidov
7fcfcf201d
Fix unit tests under MSan
2020-06-01 20:07:27 +03:00
Ivan Blinkov
acf22bfb19
fix sanitizers build
2020-06-01 19:42:59 +03:00
Ivan Blinkov
3e0811f297
Adapt to recent logging changes
2020-06-01 17:15:14 +03:00
Ivan Blinkov
fcc7ff0ef9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry
2020-06-01 08:42:03 +03:00
alexey-milovidov
9984e989c1
Merge pull request #11317 from ClickHouse/logger-fmt-2
...
Preparation for structured logging
2020-06-01 00:11:29 +03:00
Alexey Milovidov
d2eb58142e
Fix build
2020-05-31 16:51:37 +03:00
Alexey Milovidov
e3dc1d6734
Fix build
2020-05-31 16:50:40 +03:00
Alexey Milovidov
669a15b943
Whitespaces
2020-05-31 16:48:43 +03:00
Alexey Milovidov
b444615404
Compatibility with Arcadia build
2020-05-31 16:47:58 +03:00
Alexey Milovidov
25f941020b
Remove namespace pollution
2020-05-31 00:57:37 +03:00
Ivan Blinkov
be94d8454d
fix Arcadia build
2020-05-30 13:54:57 +03:00
Ivan Blinkov
52f7b9545b
Add http_proxy option
2020-05-30 11:24:21 +03:00
Ivan Blinkov
77d8c9baca
Add anonymize option and version tag
2020-05-30 11:02:13 +03:00
Ivan Blinkov
f88b85625a
style
2020-05-30 00:36:47 +03:00
Ivan Blinkov
69dedcbe21
Move sending crash reports below logging
2020-05-30 00:28:55 +03:00
Ivan Blinkov
a84123195b
adjust comments
2020-05-29 23:08:05 +03:00
Ivan Blinkov
95ee742ee7
merge master
2020-05-29 22:56:10 +03:00
Ivan Blinkov
d9bb3ef91b
Add logging and adjust initialization
2020-05-29 22:48:32 +03:00
Alexey Milovidov
e8f52337aa
Fix incorrect usage of fmtlib
2020-05-29 03:09:12 +03:00
Ivan Blinkov
52e4a0293d
Keep sentry-native in debug mode only under setting
2020-05-27 23:21:53 +03:00
Ivan Blinkov
31123236cb
Settings for crash report opt-in
2020-05-27 23:15:33 +03:00
Ivan Blinkov
709b4f42c8
Prototype sending crash reports on segfaults
2020-05-27 22:11:04 +03:00
Alexey Milovidov
2fd48696dc
Fix build
2020-05-24 12:50:30 +03:00
Alexey Milovidov
5388693343
Fix Arcadia build
2020-05-24 01:33:29 +03:00
Alexey Milovidov
7e1813825b
Return old names of macros
2020-05-24 01:24:01 +03:00
Alexey Milovidov
61cc605ee7
Remove old method
2020-05-24 01:21:29 +03:00
Alexey Milovidov
cd6d3c7509
Progress on task
2020-05-23 22:55:06 +03:00
Alexey Milovidov
f13ccfc8e8
Progress on task
2020-05-23 22:43:13 +03:00
Alexey Milovidov
7e2fb9ad65
Apply all transformations again
2020-05-23 22:38:30 +03:00
Alexey Milovidov
29762240de
Remove duplicate whitespaces (preparation)
2020-05-23 22:31:54 +03:00
Alexey Milovidov
1f13515a65
Make all LOG in single line (preparation)
2020-05-23 21:31:37 +03:00
Alexey Milovidov
3a09f9ca1c
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_[^\W_]+\([^,]+, [^<+)"]+\);' | xargs sed -i -r -e 's/(LOG_[^\W_]+)\(([^,]+), ([^<+)"]+)\);/\1_FORMATTED(\2, \3);/'
2020-05-23 20:29:56 +03:00
Alexey Milovidov
f69cbdcbfc
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 20:09:37 +03:00
Alexey Milovidov
8042e5febe
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}\5{}", \4, \6);/'
2020-05-23 19:58:15 +03:00
Alexey Milovidov
e391b77d81
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5", \4);/'
2020-05-23 19:56:05 +03:00
Alexey Milovidov
979e5d77c1
Fix build
2020-05-23 19:53:51 +03:00
Alexey Milovidov
ee4ffbc332
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 19:47:56 +03:00
Alexey Milovidov
8d2e80a5e2
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+"\)' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+, "[^"]+")\)/\1_FORMATTED(\2)/'
2020-05-23 19:42:39 +03:00
Alexey Milovidov
3c582fc96f
Fix error
2020-05-23 19:42:16 +03:00
Alexey Milovidov
35d79e1252
fmt-style logging, part 1
2020-05-23 19:33:07 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
Ivan
21ce8dbbc3
Fix CH-over-YDB build ( #10921 )
2020-05-14 22:56:10 +03:00
Vitaly Baranov
6f15a0d443
Improve the function range() to allow iterating through enum values.
2020-05-13 19:40:48 +03:00
Alexey Milovidov
2864012d1b
Better support for sanitizers
2020-05-12 06:36:09 +03:00
Alexey Milovidov
365acc65ea
Better support for sanitizers
2020-05-12 06:31:53 +03:00
alexey-milovidov
61496384b6
Merge pull request #10809 from Enmk/DateLUTImpl_ctor_fix
...
Fixed DateLUTImpl constructors to avoid accidental copying
2020-05-11 20:19:44 +03:00
Vasily Nemkov
776ce03777
Fixed DateLUTImpl constructors to avoid accidental copying
...
Fixed one case of copying DateLUTImpl
2020-05-11 10:42:47 +03:00
Alexey Milovidov
e2b3cf2b52
Remove obsolete suppression
2020-05-11 09:50:38 +03:00
Alexey Milovidov
8db5dcd106
Fix UBSan and MSan report in DateLUT
2020-05-11 07:25:46 +03:00
Alexey Milovidov
6b38005575
Fix build
2020-05-11 01:17:28 +03:00
Alexey Milovidov
3b97b41188
Fix build
2020-05-10 22:28:40 +03:00
Alexey Milovidov
20808de08c
Merge remote-tracking branch 'origin/master' into even-more-warnings
2020-05-10 22:28:16 +03:00
Alexey Milovidov
f9ad1e612a
Fix build
2020-05-10 08:24:01 +03:00
Alexey Milovidov
bd26547f99
Fix warning
2020-05-10 06:08:56 +03:00
Alexey Milovidov
a7681933cb
Asserts in DateLUTImpl
2020-05-10 04:43:26 +03:00
Alexey Milovidov
45b65a462e
Better code
2020-05-10 02:33:11 +03:00
Alexey Milovidov
715b6f3617
Better code
2020-05-10 02:31:44 +03:00
Alexey Milovidov
eeaab4ba11
Fix build
2020-05-10 02:22:51 +03:00
Alexey Milovidov
1155b74214
Fixed build
2020-05-10 02:18:18 +03:00
Alexey Milovidov
a576a4fbcd
Enable extra warnings for base, utils, programs
2020-05-10 01:59:34 +03:00
Azat Khuzhin
150dd81e3b
Fix build with unbundled Poco
2020-05-09 01:22:12 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Azat Khuzhin
ed4c7820be
Disable buffering of the stderr
...
There are some 3d party libs that are used by clickhouse that uses
stderr, for example rdkafka, and buffering of rdkafka logs may be a
problem in tests at least.
2020-05-04 18:57:06 +03:00
Azat Khuzhin
f767309574
Ability to set logger level for loggers that have non allowed in xml tags symbols
2020-04-27 21:30:29 +03:00
Alexey Milovidov
08d8c350b7
Fix overflow at beginning of unix epoch for fractional timezones #9335
2020-04-26 19:22:44 +03:00