Azat Khuzhin
f211d33841
Avoid creating separate replxx instance
...
This replxx object is pretty heavy and in debug build may slow down [1]
(although I cannot confirm 0.5s delay for each query in debug build) the
client and besides it is not required since ClickHouse-Extras/replxx#10 ,
which changes the behaviour of history_save(), and now it will not
update current session anymore, only save the history to the disk.
[1]: https://github.com/ClickHouse/ClickHouse/pull/13086#issuecomment-667719026
2020-10-12 23:56:29 +03:00
Alexey Milovidov
a171af157e
Remove seven years old trash
2020-10-11 18:52:33 +03:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
Artem Zuikov
4fd1db73a1
Faster 256-bit multiplication ( #15418 )
2020-09-29 20:52:34 +03:00
alesapin
071ff6c9af
Merge pull request #15063 from azat/symbolizers-settings-for-non-server
...
Set sanitizers options in the current shell too
2020-09-28 17:44:39 +03:00
alesapin
1adc0a8205
Fix race condition in client suggestions
2020-09-28 12:58:42 +03:00
Artem Zuikov
b4f1eb07ff
slightly better bigint plus/minus ( #15320 )
2020-09-28 12:07:45 +03:00
Artem Zuikov
2e6edc250c
better min/max for Int128
2020-09-22 14:35:46 +03:00
Alexey Milovidov
ef5363b87f
Fix terribly wrong code
2020-09-19 02:05:13 +03:00
Alexey Milovidov
37facf4482
Fix clang-tidy
2020-09-19 02:05:13 +03:00
alexey-milovidov
456c970929
Merge pull request #14808 from ClickHouse/remove-header
...
Remove one header
2020-09-18 21:57:00 +03:00
Artem Zuikov
0520b05001
Speedup wide integers ( #14859 )
2020-09-18 12:51:44 +03:00
Alexey Milovidov
9df338f37b
Merge branch 'master' into remove-header
2020-09-18 01:18:53 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Alexey Milovidov
3795dfed14
Remove one header
2020-09-14 16:34:44 +03:00
Artem Zuikov
d274125c74
Fix wide integer left shift + refactoring ( #14697 )
2020-09-14 14:56:43 +03:00
Alexey Milovidov
4e197cf069
Remove unused headers
2020-09-10 19:41:46 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
Artem Zuikov
7c20aa2c62
Another 256-bit integers (strict 32 bytes) ( #14229 )
2020-09-04 16:33:02 +03:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library ( #14219 )
2020-09-01 12:54:50 +03:00
alexey-milovidov
7ea5364299
Merge pull request #13648 from filimonov/tzdata_version2
...
tzdata improvements
2020-08-24 23:07:37 +03:00
myrrc
d298409660
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-20 12:07:02 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
Alexey Milovidov
eeb769d2d4
Remove useless code around zkutil
2020-08-18 22:02:07 +03:00
Alexey Milovidov
5ac2ed9e5b
Generate ya.make #13572
2020-08-18 12:53:21 +03:00
Alexey Milovidov
b5af14d6a0
Generate ya.make
2020-08-18 12:47:29 +03:00
alexey-milovidov
1e80318b94
Merge pull request #13600 from amosbird/rlfix
...
Readline fix
2020-08-16 17:41:50 +03:00
Mikhail Filimonov
fe55ef6b2c
Trying to fix TZ with plus sign inside
2020-08-13 23:28:56 +02:00
myrrc
82206e89dd
fixed perftest long test and StringRef assert
2020-08-12 17:07:56 +03:00
myrrc
67d716b5cc
revert accidental changes
2020-08-11 16:36:28 +03:00
Alexander Kazakov
6e0d536327
Merge branch 'master' into bug/low-cardinality-arrays-optimisations
2020-08-11 16:25:20 +03:00
Amos Bird
1eda00d27d
Readline fix
2020-08-11 17:49:39 +08:00
Ivan
c8d3999693
Enable Poco::NetSSL support in ya.make
2020-08-10 14:18:57 +03:00
Vitaly Baranov
2e6ba2a05d
Merge pull request #13496 from vitlibar/compound-identifiers-for-custom-settings
...
Support compound identifiers for custom settings.
2020-08-10 01:03:02 +03:00
Alexey Milovidov
182e2929f3
Merge branch 'master' into embed-configs
2020-08-09 02:41:44 +03:00
Alexey Milovidov
b4ac900462
Fix "Arcadia" build
2020-08-09 02:38:53 +03:00
alexey-milovidov
ba5988dcf6
Merge pull request #13446 from ClickHouse/fix-netloc
...
Function "netloc": fix wrong code.
2020-08-09 01:39:46 +03:00
Vitaly Baranov
5401694138
splitInto() now can put result into a vector of std::string_view.
2020-08-08 19:35:53 +03:00
Alexey Milovidov
0d70393bac
Fix build
2020-08-08 07:55:33 +03:00
Alexey Milovidov
0f79eb3cc5
Embed configs into binary
2020-08-08 06:42:42 +03:00
Alexey Milovidov
0cbbe153cd
Fix typos, the last 1%
2020-08-08 04:21:04 +03:00
Alexey Milovidov
d1ed1fb83a
Fix error
2020-08-07 04:04:37 +03:00
myrrc
98119af9de
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-04 15:01:27 +03:00
Alexey Milovidov
c202691319
Merge branch 'master' into stack-frams-size-limit
2020-07-30 23:53:52 +03:00
Azat Khuzhin
b7eee3afe0
Add a comment of explicit flock() in ReplxxLineReader::addToHistory()
2020-07-29 21:00:46 +03:00
Azat Khuzhin
d6102869e5
Avoid re-loading completion from the history file after each query
...
By default replxx reload history from the file in
replxx::Replxx::history_save(), and this will overlaps current session
history with the history from other sessions, and this does not looks a
great idea (bash and other interpreters don't do this).
So to avoid this, use separate replxx::Replxx instance.
2020-07-29 21:00:46 +03:00
myrrc
0f5b089270
fix: ubsan, EMPTY_STRING_REF constant
2020-07-29 01:08:09 +03:00
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
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
Andrew Onyshchuk
80c0676031
Extend word break config to all non-alphanumeric chars
2020-06-25 20:36:09 -05:00
Alexey Milovidov
6eda152726
Remove dependency on tzdata
2020-06-20 15:26:44 +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
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
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
Tagir Kuskarov
643c3cd153
Add syntax highlighting first version
2020-06-02 16:08:09 +04: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
Alexey Milovidov
7fcfcf201d
Fix unit tests under MSan
2020-06-01 20:07:27 +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
Alexey Milovidov
e8f52337aa
Fix incorrect usage of fmtlib
2020-05-29 03:09:12 +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
979e5d77c1
Fix build
2020-05-23 19:53:51 +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
Ivan
21ce8dbbc3
Fix CH-over-YDB build ( #10921 )
2020-05-14 22:56:10 +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
3b97b41188
Fix build
2020-05-10 22:28:40 +03:00