Alexey Milovidov
a1754f76b5
Added one more keyword for command line completions #4328
2019-02-10 23:30:28 +03:00
Alexey Milovidov
5b97abe693
Fixed use after free in clickhouse-client (suggestion thread)
2019-02-08 21:15:54 +03:00
alesapin
0a4c99efe4
More effective
2019-02-07 19:09:06 +03:00
alesapin
15488a21eb
Really process single query instead of preparsed multiquery
2019-02-07 19:03:02 +03:00
Ivan Lezhankin
92769a2460
Don't update "arrow" on client-side for nothing
2019-02-07 16:47:16 +03:00
Ivan Lezhankin
8c640f54f8
Fix clang-7 warnings
2019-02-05 13:19:34 +03:00
Ivan Lezhankin
994926e568
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3729
2019-02-04 20:13:50 +03:00
alexey-milovidov
450c575c7e
Merge pull request #4230 from bsd-conqueror/missing_password_value
...
Fixed the issue when --password was used without a value
2019-02-02 20:53:15 +03:00
alexey-milovidov
fb297b78ba
Update ConnectionParameters.h
2019-02-02 20:52:57 +03:00
alexey-milovidov
69c18786cb
Update Client.cpp
2019-02-02 20:50:57 +03:00
Sergei Semin
adfc3bf5b3
fix typo
2019-02-02 17:43:36 +03:00
Sergei Semin
3f92350c2b
rename config file parameter name
2019-02-02 17:40:29 +03:00
BSD_Conqueror
fbb3fee9af
Fixed a mistype
2019-02-02 17:35:51 +03:00
Sergei Semin
f3bbb07337
remove extra brackets
2019-02-02 17:29:54 +03:00
Sergei Semin
21cc1f6488
add another option for client configuration file
2019-02-02 17:28:37 +03:00
Sergei Semin
c7b52af1f8
Revert "treat "-C" as "-c" parameter for clickhouse-client"
...
This reverts commit 6ed2a4d4
2019-02-02 17:01:10 +03:00
Sergei Semin
959952114c
move client creation and run under try to show exception message
2019-02-02 16:49:24 +03:00
BSD_Conqueror
5a7e4c863d
Added a comment to explain why '\n' is used as the implicit value for the --password option
2019-02-02 16:43:08 +03:00
BSD_Conqueror
171f54a1f6
Merge branch 'missing_password_value' of https://github.com/bsd-conqueror/ClickHouse into missing_password_value
2019-02-02 16:21:55 +03:00
BSD_Conqueror
d2d11d4e96
Removed code duplication in --password handling
2019-02-02 16:20:51 +03:00
BSD_Conqueror
375be7b881
Merge branch 'master' into missing_password_value
2019-02-02 16:10:38 +03:00
BSD_Conqueror
c0f72d18d0
Fixed the issues with the --password option and the user name in the prompt
...
- if --password was used without any value, ask for the password in the prompt
- fixed the issue when a blank user name is shown in the prompt if no user was provided
2019-02-02 16:04:08 +03:00
Sergei Semin
6ed2a4d47d
treat "-C" as "-c" parameter for clickhouse-client
2019-02-02 15:36:04 +03:00
BSD_Conqueror
baa504f524
Fixed the issue when --password was used without a value
2019-02-02 14:48:06 +03:00
Alexey Milovidov
7f8ac2d26b
Fixed bad function name
2019-02-02 03:25:12 +03:00
Ivan
e22a271034
Fix style
2019-02-01 17:22:27 +03:00
proller
5d4c1d9a88
Install fixes
2019-01-28 19:36:39 +03:00
proller
22549cc43b
Merge remote-tracking branch 'upstream/master' into fix10
2019-01-28 15:44:25 +03:00
Vitaly Baranov
e9721c9548
Add support for absolute format schema paths.
2019-01-27 12:15:32 +03:00
Alexander GQ Gerasiov
aac21c5f57
Fix install of binaries when SPLIT_BINARIES is set.
2019-01-25 23:19:45 +03:00
Alexey Milovidov
854817c232
Fixed -Wshadow-field #4005
2019-01-24 22:37:32 +03:00
alexey-milovidov
f96b8e4ed6
Merge pull request #4005 from vitlibar/add-protobuf-output-format
...
Add protobuf output format
2019-01-24 22:05:23 +03:00
Vitaly Baranov
b7ee466cd7
Added possibility to set 'format_schema_path' parameter in the client config too.
2019-01-24 17:32:01 +03:00
Vitaly Baranov
67fca7e029
Add support for settings 'format_schema' in an output query.
...
This fixes syntax error when executing 'SELECT ... FORMAT ... SETTINGS format_schema=...'
2019-01-23 22:23:37 +03:00
maiha
6c83beafdd
dbms: Fixed misspells in comments
2019-01-23 04:56:53 +09:00
Alexey Milovidov
2eb7b15273
Addition to prev. revision #4103
2019-01-21 19:14:26 +03:00
Alexey Milovidov
c7b95b5175
Miscellaneous changes for PVS-Studio
2019-01-20 02:27:52 +03:00
proller
7cefef6983
Fix linking in all modes (unbundled, split, ...) ( #4037 )
2019-01-11 19:52:46 +03:00
Alexey Milovidov
4622f5dc7c
Added some warnings from clang's -Weverything
2019-01-04 16:32:08 +03:00
Alexey Milovidov
06095340c7
Slightly better code #3940
2018-12-28 19:45:45 +03:00
chertus
d791da03c7
fix test hint parsing
2018-12-27 17:48:47 +03:00
chertus
22bb17250f
autodisable logs in negative tests CLICKHOUSE-4228
2018-12-27 16:09:11 +03:00
alesapin
b00669e012
Print stacktrace on client if corresponding option specified
2018-12-13 20:41:13 +03:00
chertus
3db00b7b98
Merge branch 'master' into issue-3578
2018-12-05 14:43:14 +03:00
chertus
a71d03737c
send defaults via serialized ColumnsDescription CLICKHOUSE-3578
2018-12-04 23:03:04 +03:00
proller
7e9d053d5d
Benchmark: use client config for ssl options
2018-11-28 17:41:51 +03:00
Alexey Milovidov
c77930fe30
Whitespaces [#CLICKHOUSE-2]
2018-11-26 03:56:50 +03:00
Alexey Milovidov
141e9799e4
Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2]
2018-11-25 03:08:50 +03:00
alexey-milovidov
2c2d75cceb
Don't allow exceptions without code ( #3645 )
...
* Don't allow exceptions without code #3633
* Don't allow exceptions without code #3633
2018-11-23 00:19:58 +03:00
Alexey Milovidov
e53eb702a1
Usability of client error message when it cannot load data for suggestions [#CLICKHOUSE-2]
2018-11-22 18:07:32 +03:00
proller
1d40c2c871
Better link and deps ( #3631 )
...
* try fix 1
* Better deps
* fix
* fix
* fix
* Update CMakeLists.txt
* Update CMakeLists.txt
* fix
* fix
* fix
* disable old
* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
chertus
0e1044b165
Merge branch 'master' into issue-3578
2018-11-15 13:28:53 +03:00
chertus
ebf3d60186
column defaults without CapNProto [CLICKHOUSE-3578]
2018-11-14 21:20:16 +03:00
Alexey Milovidov
5441b6c3d2
Whitespace [#CLICKHOUSE-3]
2018-11-13 21:54:38 +03:00
chertus
9aae1d0d8f
fix branches merge mistake
2018-11-12 21:34:43 +03:00
chertus
2fe3cdb3f5
restore lost commits [CLICKHOUSE-3578]
2018-11-12 17:52:30 +03:00
chertus
cc005c3ac9
Merge branch 'master' into issue-3578
2018-11-09 13:12:34 +03:00
Ivan Lezhankin
f0edecd755
Respect 'receive_timeout' option on client-side.
2018-11-06 14:31:30 +03:00
CurtizJ
7963e952f1
rename setting to tcp_keep_alive
2018-10-23 02:02:57 +03:00
chertus
ec8d3b388d
move DumpASTNode to own file, style fixes [CLICKHOUSE-4001]
2018-10-09 17:32:11 +03:00
proller
ca03cd6606
Sync with arcadia
2018-10-01 18:43:48 +03:00
Alexey Milovidov
85ca2006b0
Fixed bug in client (double whitespace) [#CLICKHOUSE-4038]
2018-09-29 22:33:23 +03:00
proller
d752d5d62d
Prepare to new poco, build fixes ( #3072 )
...
* WIp
* fix
* fix
* test
* fix poco netssl find
* clean
* fixes
* wip
* wip
* new poco
* fixes
* Fixes
* wip
* clean
* clean
* clean
* clean
* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00
Alexey Milovidov
136d9d7b18
Added setting names for suggest [#CLICKHOUSE-2]
2018-09-12 04:03:58 +03:00
proller
db13ef96d6
Fix ssl init ( #3056 )
...
* Try to fix ../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
* Fix ssl init
* fix
* noncopyable
* clean
2018-09-06 21:05:33 +03:00
Alexey Milovidov
f7107f12b4
Merge branch 'master' into extra-warnings
2018-09-02 03:13:36 +03:00
Alexey Milovidov
61413ead23
Removed notice in gcc-8 [#CLICKHOUSE-2]
2018-09-02 00:03:06 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings
2018-08-31 03:03:44 +03:00
Amos Bird
4ae8721a82
ill formated #else breaks client history
2018-08-28 20:05:27 +08:00
Alexey Milovidov
595bd32f41
Enabling -Wzero-as-null-pointer-constant [#CLICKHOUSE-2]
2018-08-26 04:41:08 +03:00
Alexey Milovidov
93b44fb17c
Made suggest case sensitive again. Otherwise there is a glitch when you type SELECT DIS<TAB> #2447
2018-08-25 19:19:00 +03:00
Alexey Milovidov
417cc1ab4d
Additions #2447
2018-08-25 19:05:01 +03:00
Alexey Milovidov
24083e3088
Separate files #2447
2018-08-25 16:55:18 +03:00
Alexey Milovidov
9293882206
Allow to disable suggestion; check server revision #2447
2018-08-25 16:41:50 +03:00
Alexey Milovidov
32eb1a7942
Merge branch 'feature/suggestions' of https://github.com/Tezd/ClickHouse into Tezd-feature/suggestions
2018-08-25 16:15:30 +03:00
Alexey Milovidov
e220a5041f
Better location #2877
2018-08-22 06:06:13 +03:00
Alexey Milovidov
99d7b8a7ad
Allow to quit client while query is in progress by pressing Ctrl+C twice #2877
2018-08-21 21:42:46 +03:00
Vladimir Kozbin
cdb7116f37
ISSUES-2629 clickhouse-client: fix reading user from config
2018-08-21 17:04:27 +07:00
Alexey Milovidov
d278cbbed5
Addition to prev. revision #2877
2018-08-21 02:39:41 +03:00
Alexey Milovidov
b98cfe0f66
Addition to prev. revision #2877
2018-08-21 02:30:24 +03:00
Alexey Milovidov
cf224f32c4
Addition to prev. revision #2877
2018-08-21 02:28:27 +03:00
Alexey Milovidov
7fc39611e5
Implemented #2877 in another way
2018-08-21 02:22:20 +03:00
Alexey Milovidov
1c9c6f6cfc
Moved "TestHint" code to separate file #2744
2018-08-20 06:34:10 +03:00
Alexey Milovidov
b07ad553ef
Fixed test #2015
2018-08-20 06:27:16 +03:00
Alexey Milovidov
9e15b49254
Added useful comments that code is totally wrong #2744
2018-08-20 06:21:26 +03:00
Alexey Milovidov
e0f1637506
Moved file to appropriate place; split to cpp #2482
2018-08-20 05:34:00 +03:00
Alexey Milovidov
41ec796a67
Little better [#CLICKHOUSE-2]
2018-08-19 23:26:11 +03:00
Alexey Milovidov
acb99b49df
Merge branch 'master' into CLICKHOUSE-2910
2018-08-14 23:29:42 +03:00
proller
3af99efd65
CLICKHOUSE-3530: Versioned inetrnal compiler headers ( #2837 )
2018-08-10 22:53:49 +03:00
Alexey Milovidov
bec5a85030
Fixed test #2813
2018-08-08 05:11:16 +03:00
Alexey Milovidov
5860838776
Fixed inconsistency and bad style #1652
2018-08-08 03:12:40 +03:00
chertus
8fde28deda
issues-2813 return error code to OS on query processing error
2018-08-07 13:55:39 +03:00
alexey-milovidov
11a7825ce7
Update Client.cpp
2018-08-03 23:48:43 +03:00
morty
69f7948bbd
Use system tables for formats, engines, functions, collations, types
2018-08-02 17:57:57 +03:00
morty
fac492a3e4
Resolved conflicts
2018-08-02 14:01:52 +03:00
proller
d72ba2701b
CLICKHOUSE-3771 Preparing for new version scheme [WIP] ( #2646 )
...
* CLICKHOUSE-3771: compatible version transfer
* Fix
* Fixed compatibility
* fix
* Auto version update to [1.1.54401] [54398]
* fix auto revision up
* fix
* comments
* clean
* fix
* Send/recieve patch if we can
* fix
* Auto version update to [18.2.0] [54397]
* Client version in query_log
* Update TCPHandler.cpp
* Update Connection.cpp
* Update Defines.h
2018-08-01 00:36:18 +03:00
chertus
5f46894cf0
CLICKHOUSE-2 client testmode fixes: reconnect on clientError, clear expected errors, return error to OS
2018-07-30 21:27:04 +03:00
alexey-milovidov
cac790f08f
Update Client.cpp
2018-07-27 20:37:53 +03:00
chertus
6283c3f572
CLICKHOUSE-2: support negative tests
2018-07-27 20:19:22 +03:00
proller
dfa41cdc19
Fix build without readline
2018-07-19 12:29:02 +03:00