Robert Schulze
a00a020cfb
Merge pull request #42847 from ClibMouse/s390x_bit_cast
...
s390x datetime64 conversion fix
2022-11-28 11:45:43 +01:00
Suzy Wang
60119a97f7
fix build error
2022-11-17 20:38:22 -08:00
Suzy Wang
f624143532
fix typo
2022-11-10 12:42:38 -08:00
Suzy Wang
84a8c02d78
Update typo and rm whitespaces
2022-11-10 12:32:40 -08:00
Raúl Marín
aaf8cc6ca8
Revert "Add global flags to base/ libraries"
...
This reverts commit 43e065c18e
.
2022-11-10 11:32:27 +01:00
Suzy Wang
73e5cd91c8
rm unnecessary include
2022-11-09 13:59:34 -08:00
Raúl Marín
39f4120655
Fix broken build
2022-11-09 13:21:59 +01:00
Raúl Marín
43e065c18e
Add global flags to base/ libraries
2022-11-09 11:24:20 +01:00
Suzy Wang
ba868801fa
Update as suggested
2022-11-08 20:51:35 -08:00
Raúl Marín
050f3ca7cf
Fix msan warning
2022-11-08 17:25:03 +01:00
Alexander Tokmakov
fc77d53db1
Merge pull request #43009 from azat/fix-tsan
...
Fix TSan errors (correctly ignore _exit interception)
2022-11-07 22:20:53 +03:00
Alexander Tokmakov
b4ecbbf224
Update safeExit.cpp
2022-11-07 21:07:09 +03:00
Azat Khuzhin
d6bfbeb95f
Fix TSan errors (correctly ignore _exit interception)
...
Because safeExit() does not includes header with defines, it does not
know about THREAD_SANITIZER.
And it also fixes Azure blob storage, actually everything is fine with
the sdk itself, the problem is only in TSan that intercepts _exit() and
report leak, even thoug that tread will be joined later.
Refs: #23056 (#23616 )
Fixes : #38474
Closes : #42640
Fixes : #42638
Fixes : #34988
Cc: @alexey-milovidov, @tavplubix
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-07 16:10:35 +01:00
Amos Bird
4c2b3de93d
Fix msan error
2022-11-04 22:08:14 +08:00
Amos Bird
a89e847514
Fix getauxval for sanitizer builds
2022-11-04 22:08:13 +08:00
Suzy Wang
9560306cdb
Update fix
2022-11-03 09:29:15 -07:00
Suzy Wang
80c4d27a89
reverse columnVector change and update new fix
2022-11-02 07:15:00 -07:00
Azat Khuzhin
4eeb7337ed
Merge remote-tracking branch 'upstream/master' into build/shorten-64-to-32
...
Conflicts:
- src/Common/intExp.h
- src/Functions/DateTimeTransforms.h
- src/Functions/FunctionsConversion.h
2022-10-21 22:51:56 +02:00
Azat Khuzhin
1e739791a4
Fix type error in itoa (wrong static_cast<>)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:43 +02:00
Azat Khuzhin
0625a866f0
Add a note about incorrect wide_integer with Decimal
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:43 +02:00
Azat Khuzhin
7b28a80ad7
Fix -Wshorten-64-to-32 for amd64sse2 build
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:42 +02:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Alexey Milovidov
445487e073
Merge branch 'master' into add-test-658
2022-10-20 23:55:15 +02:00
Sema Checherinda
52f57cd1ee
Merge pull request #42080 from azat/client-fuzzy-history
...
Avoid adding extra new line after using fuzzy history search
2022-10-12 10:50:26 +02:00
Alexey Milovidov
8a066b5eef
Fix test
2022-10-11 01:28:36 +02:00
Alexander Tokmakov
ff03181d31
Update safeExit.cpp
2022-10-10 15:01:03 +03:00
Alexey Milovidov
69a3ddb5cb
Merge pull request #42128 from Algunenano/tsa_build
...
Fix build without TSA
2022-10-09 03:11:47 +03:00
Alexander Tokmakov
8b44e11430
fix
2022-10-08 16:10:46 +02:00
Alexander Tokmakov
4175f8cde6
abort instead of __builtin_unreachable in debug builds
2022-10-07 21:49:08 +02:00
Alexander Tokmakov
1a1a20587e
Update defines.h
2022-10-07 21:26:09 +03:00
Raúl Marín
5d9c4a39c0
Update comment
2022-10-07 14:06:28 +02:00
Raúl Marín
62599e3901
Simpler macro
2022-10-07 11:14:35 +02:00
Raúl Marín
6b0ad85640
Fix build without TSA
2022-10-06 16:26:48 +02:00
Azat Khuzhin
e9d4d15c0d
Add more comments for skim/fzf compatibility
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-05 09:59:48 +02:00
Azat Khuzhin
6e7114128b
Avoid adding extra new line after using fuzzy history search
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-05 09:59:48 +02:00
BoloniniD
55c79230b3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into BLAKE3
2022-09-29 23:53:25 +03:00
Azat Khuzhin
8cc53a48ae
clickhouse-client: tune fzf/sk options to be a real reverse search
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-26 15:09:37 +03:00
Azat Khuzhin
d0f14e1255
clickhouse-client: proper support of vfork() w/o dlsym() in musl
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-26 15:09:37 +03:00
Azat Khuzhin
aaa36e2b25
clickhouse-client: add support of sk (fzf-like in rust)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-09-26 15:09:37 +03:00
Azat Khuzhin
58b61d8207
clickhouse-client: add interactive history search with fzf-like utility
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-26 15:09:37 +03:00
Azat Khuzhin
6acdeb84be
clickhouse-client: refactor editor execution
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-26 15:09:37 +03:00
Nikita Mikhaylov
e897816572
Evict stale DNS entries from cache in case of network errors ( #41707 )
2022-09-25 14:06:13 +02:00
BoloniniD
55fcb98f29
Merge branch 'master' of github.com:ClickHouse/ClickHouse into BLAKE3
2022-09-19 21:53:14 +03:00
BoloniniD
5b4fb4bf66
Merge branch 'master' into BLAKE3
2022-09-18 23:14:37 +03:00
Alexey Milovidov
5c75a7d661
Fix error
2022-09-18 09:20:48 +02:00
Alexey Milovidov
35cce03125
Remove dlopen
2022-09-17 03:02:34 +02:00
BoloniniD
452ef4435b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into BLAKE3
2022-09-16 20:05:56 +03:00
BoloniniD
0df426d329
Corrosion fixes + review fixes
2022-09-16 00:05:21 +03:00
Azat Khuzhin
569b4bb631
Add ability to automatically comment SQL queries in clickhouse-client/local
...
This is like Alt-# in readline, it is useful when you need to look
something else, and need to save current query/command somewhere, and
commented lin the history is a good option.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-12 21:57:21 +02:00
Alexey Milovidov
2aedd41023
Remove strange code ( #40195 )
...
* Remove strange code
* Even more code removal
* Fix style
* Remove even more code
* Simplify code by making it slower
* Attempt to do something
* Attempt to do something
* Well do something with this horrible trash
* Add a test
2022-09-12 16:29:23 +02:00