Vitaly Baranov
6c2b53f0ae
Merge pull request #42940 from filimonov/exceptions_with_masker
...
Add SensitiveDataMasker to exceptions messages
2022-11-21 23:20:15 +01:00
Alexey Milovidov
b4165f95a9
Merge branch 'master' into build/poco-leftovers
2022-11-16 06:09:58 +01:00
filimonov
8369998286
Style
2022-11-14 22:06:22 +01:00
Mikhail Filimonov
19d39d7881
Add SensitiveDataMasker to exceptions messages
2022-11-14 19:06:17 +01:00
Alexey Milovidov
b8c877db29
Fix annoying messages in AsynchronousMetrics
2022-11-12 19:07:28 +01:00
Azat Khuzhin
953457de28
Remove POCO_CLICKHOUSE_PATCH
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 22:41:26 +01:00
Alexey Milovidov
fa62c7e982
Fix half of trash
2022-09-10 04:08:16 +02:00
Robert Schulze
c22038d48b
More clang-tidy fixes
2022-06-28 11:50:05 +00:00
Alexander Tokmakov
6bc68c0cbc
Merge branch 'master' into fixes_for_transactions
2022-05-23 18:49:21 +02:00
Alexander Tokmakov
12bbb7de87
fix race on TID allocation
2022-05-20 12:41:44 +02:00
Robert Schulze
43945cea1b
Fixing some warnings
2022-05-16 20:59:27 +02:00
Alexey Milovidov
7841f02cf0
Remove nested exception
2022-05-05 23:05:52 +02:00
Alexander Tokmakov
94af11dd74
add extra info when sending exception
2022-05-03 15:13:47 +02:00
Anton Popov
2de6668b3f
show names of erroneous files
2022-04-16 00:10:47 +00:00
Antonio Andelic
9990abb76a
Use compile-time check for Exception messages, fix wrong messages
2022-03-29 13:16:11 +00:00
Robert Schulze
b56c28d841
Replace a few uses of enable_if for SFINAE by concepts
...
- enable_if is usually regarded as fragile and unreadable
- C++20 concepts are much easier to read and produce more expressive
error messages
2022-03-16 19:51:38 +01:00
Maksim Kita
e7772ed434
Fix clang-tidy warnings in Common folder
2022-03-14 18:17:35 +00:00
Azat Khuzhin
a09bc1d72e
Add fmt::runtime() in Exception ctor
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-01 14:30:03 +03:00
Alexander Tokmakov
3bca886174
remove some trash
2021-09-17 22:29:10 +03:00
Raúl Marín
efe1938437
WIP: Slow improvements
2021-07-27 16:26:29 +02:00
Azat Khuzhin
7c07b43597
Convert system.errors.stack_trace from String into Array(UInt64)
...
This should decrease overhead for the errors collecting.
2021-03-24 06:52:48 +03:00
Azat Khuzhin
e7948819f9
Fix ParsingException::displayText()
...
Before it was silently try-catched for messages with additional {}, and
it is very easy to trigger, i.e.:
SELECT toDateTime(format('{}-{}-01 00:00:00', '2021', '1'))
Will print:
Code: 41. DB::Exception: Received from localhost:9000. DB::Exception: Cannot parse datetime 2021-1-01 00:00:00{}: Cannot parse DateTime from String: while executing 'FUNCTION toDateTime(format('{}-{}-01 00:00:00', '2021', '1') :: 3) -> toDateTime(format('{}-{}-01 00:00:00', '2021', '1')) DateTime : 2'.
2021-03-03 23:44:51 +03:00
Azat Khuzhin
e4350e078c
Add ability to distinguish remote exceptions from local
2021-01-20 01:10:17 +03:00
Yatsishin Ilya
f36e8f13c0
more fixes after rebase
2020-12-24 13:48:10 +03:00
Azat Khuzhin
7c76bd2def
Fix ParsingException::displayText override (guard with POCO_CLICKHOUSE_PATCH)
2020-12-23 23:55:39 +03:00
Nikita Mikhailov
84d0084c1a
style
2020-12-23 01:33:07 +03:00
nikitamikhaylov
6f30fae34e
final fix
2020-12-23 01:02:45 +03:00
nikitamikhaylov
a9bd177b2e
fix
2020-12-23 01:02:45 +03:00
nikitamikhaylov
35dbd2bd77
style
2020-12-23 01:02:45 +03:00
nikitamikhaylov
0dafcc38a5
better
2020-12-23 01:02:45 +03:00
nikitamikhaylov
8d4465ddeb
better
2020-12-23 01:02:01 +03:00
nikitamikhaylov
a285cb83df
style
2020-12-23 01:02:01 +03:00
nikitamikhaylov
c60c161168
add ParsingException
2020-12-23 01:02:01 +03:00
Pavel Kovalenko
25df6bae78
Add nested exception when handle Disk S3 metadata file read error.
2020-12-12 17:11:47 +03:00
Alexander Tokmakov
026896835c
fixes
2020-10-16 15:20:30 +03:00
Alexander Kuzmenkov
3be7c7745e
Use a separate overload for formatting with fmt
2020-10-02 14:06:38 +03:00
Alexander Kuzmenkov
6e07bfe7bc
return the comment
2020-10-01 17:29:22 +03:00
Alexander Kuzmenkov
c5d6e2e67c
Add context to error messages
2020-10-01 14:02:53 +03:00
Alexey Milovidov
df19db1509
Added a test for history in clickhouse-client
2020-06-07 20:29:34 +03:00
Alexander Kuzmenkov
435f53e05a
Improve error messages
...
Also support fmt for exception messages, the same way we use it in
logging macros.
2020-06-04 20:50:29 +03:00
Alexey Milovidov
bb6eabd82d
Fix HTTP response code for some parse errors #10636
2020-05-03 22:47:07 +03:00
Alexander Tokmakov
15e7ce0053
fixes
2020-04-23 21:00:43 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00