Commit Graph

1573 Commits

Author SHA1 Message Date
Alexey Milovidov
7c13b65e41 Save errno in signal handlers 2020-03-01 17:23:43 +03:00
alexey-milovidov
c402cb5951
Merge pull request #9450 from azat/replxx-readline-compat
clickhouse-client: bind C-p/C-n to history-previous/history-next (like readline)
2020-02-29 20:54:06 +03:00
Azat Khuzhin
4fe24488e8 Bind C-p/C-n to history-previous/history-next like readline in clickhouse-client with replxx
It is not easy to keep in mind that C-p/C-n is not
history-previous/history-next in replxx, thus it is pretty easy to
mistype.

Previous COMPLETE_NEXT/COMPLETE_PREV bindings has been binded to the
M-P/M-N (that was used for HISTORY_COMMON_PREFIX_SEARCH before, but it
also binded to M-p/M-n).

Plus clickhouse-client can be compiled with readline, so it is better to
make bindings the same.
2020-02-28 23:50:46 +03:00
Alexey Milovidov
8d51824ddc getThreadId for FreeBSD 2020-02-28 14:24:56 +03:00
Clément Rodriguez
491f454b54 MySQL connection mutualize connection + integration test 2020-02-27 10:34:06 +01:00
Amos Bird
ce28d2eb82
Better cmdline client 2020-02-26 02:40:52 +08:00
Clément Rodriguez
94d3802baa Merge branch 'master' of https://github.com/clemrodriguez/ClickHouse 2020-02-24 15:28:46 +01:00
Clément Rodriguez
a978662a01 Merge remote-tracking branch 'upstream/master' 2020-02-24 15:28:24 +01:00
Amos Bird
e23b15f78e
add USE_DEBUG_HELPERS flag to enable DUMP 2020-02-24 08:44:38 +08:00
Amos Bird
693cf211fa
Build fix 2020-02-22 16:44:23 +08:00
Amos Bird
f5d6043a5d
Strict aliasing in c++20 2020-02-22 13:46:35 +08:00
Alexey Milovidov
b55ba35731
More strict aliasing 2020-02-22 10:17:25 +08:00
Alexey Milovidov
e1b3c58746
More strict aliasing 2020-02-22 10:17:24 +08:00
Alexey Milovidov
5f9a56a38a Colorize logs that are send to client with "send_logs_level" setting 2020-02-21 23:01:38 +03:00
Alexey Milovidov
430c02d477 Do not color logs by default if stderr is not a tty 2020-02-21 22:17:03 +03:00
Clément Rodriguez
1f275c965f Rebase with upstream/master 2020-02-20 16:32:05 +01:00
Clément Rodriguez
cdd99d7f23 Merge 2020-02-19 15:23:17 +01:00
Alexey Milovidov
d79b526cdb Merge branch 'master' of github.com:yandex/ClickHouse 2020-02-17 23:54:57 +03:00
Alexey Milovidov
c76ff369bb Fix check-style #9161 2020-02-17 22:09:56 +03:00
Ivan Lezhankin
102dad0ca0 Merge branch 'master' into arcadia 2020-02-17 17:37:10 +03:00
Ivan Lezhankin
39ea079034 More clean-up 2020-02-17 17:27:09 +03:00
Ivan Lezhankin
4cedd4619d Code clean-up 2020-02-16 11:04:03 +03:00
Ivan Lezhankin
2d44fa59b5 libs/ → base/ 2020-02-14 17:48:30 +03:00