alexey-milovidov
cce78ef018
Merge pull request #8036 from yurriy/mysql
...
Compatibility with MySQL clients which don't support sha2_password auth plugin
2019-12-09 23:11:31 +03:00
alexey-milovidov
9106b2854a
Merge pull request #8084 from azat/read-temporary-tables-on-failure
...
Read temporary tables on failure to avoid interpreting that bits as query
2019-12-09 13:49:09 +03:00
alexey-milovidov
624be3679b
Merge branch 'master' into mysql
2019-12-09 04:53:30 +03:00
alexey-milovidov
0d278b414c
Merge pull request #8046 from amosbird/interpose
...
Interpose malloc symbols entirely.
2019-12-09 04:33:49 +03:00
Azat Khuzhin
7b4fcc5fc5
Read temporary tables on failure to avoid interpreting that bits as query
...
Before this patch if the query failes (due to "Too many simultaneous
queries" for example) it will not read external tables info, and the
next request will interpret them as the query beginning at got:
DB::Exception: Unknown packet 11861 from client
v2: reordering in the executeQuery() is not enough, since the query
can fail in other places, before, i.e. quotas
v3: I cannot make non-intergration test (since there is no ability to
receive "Unknown packet" via client, only from the server log),
hence added one
2019-12-08 23:26:43 +03:00
Amos Bird
971770a040
Interpose malloc symbols entirely.
2019-12-07 00:32:00 +08:00
Vitaly Baranov
0e21673271
Rework Quota based on IAccessEntity.
2019-12-05 21:03:57 +03:00
Yuriy Baranov
1df4250b2f
Update MySQLHandler.cpp
2019-12-05 04:52:48 +03:00
Yuriy
564b58d2f6
using mysql_native_password for passwordless users
2019-12-05 02:37:11 +03:00
Yuriy
dbe7dc1185
using SHA1 MySQL auth plugin for plaintext passwords
2019-12-05 02:30:06 +03:00
alesapin
516876becb
Fix unintendent dependency from GLIBC 2.16 in clickhouse-odbc-bridge
2019-12-04 15:39:09 +03:00
alesapin
20e4e92c49
Fix some conflicts
2019-12-03 19:32:41 +03:00
alexey-milovidov
43c47bdb55
Merge pull request #7717 from MaxFedotov/support_mysql_federated
...
support clickhouse as mysql federated server
2019-12-03 02:21:35 +03:00
alexey-milovidov
972156066d
Update MySQLHandler.cpp
2019-12-03 02:20:58 +03:00
alexey-milovidov
b08446a8c5
Update MySQLHandler.cpp
2019-12-03 02:18:19 +03:00
Maksim Fedotov
6381d33981
support clickhouse as mysql federated server. apply code review notes p4
2019-12-02 14:32:45 +03:00
Maksim Fedotov
13a1a33834
support clickhouse as mysql federated server. apply code review notes p3
2019-11-29 16:37:13 +03:00
Maksim Fedotov
6f0f9f855a
support clickhouse as mysql federated server. fix code style
2019-11-28 18:02:02 +03:00
Maksim Fedotov
4844b9b230
support clickhouse as mysql federated server. apply code review notes p2
2019-11-28 17:43:52 +03:00
Nikolai Kochetov
f343803891
Merge pull request #7735 from amosbird/clientfix
...
fix utf-8 paste
2019-11-27 15:51:13 +03:00
Maksim Fedotov
5e40311266
support clickhouse as mysql federated server. apply code review notes
2019-11-26 18:39:36 +03:00
Pervakov Grigory
9fbc55c61a
Change max_table_size_to_drop and max_partition_size_to_drop to atmoic. Update hint in default config.
2019-11-25 14:42:09 +03:00
Pervakov Grigory
651e0f3a1c
Update max_table_size_to_drop and max_partition_size_to_drop with config reload
2019-11-25 14:42:09 +03:00
alexey-milovidov
eb7f48aaf6
Merge pull request #7816 from dingxiangfei2009/fix-copier-contention-master
...
Fix clickhouse-copier cleaning-tainting contention between concurrent workers
2019-11-23 06:49:03 +03:00
Nikita Mikhaylov
728ede25f9
Merge pull request #7840 from apbodrov/read_write_gzip
...
Gzip read/write to file/s3/url/hdfs
2019-11-22 11:48:58 +03:00
Ding Xiang Fei
8330a09575
apply style guide and fix CI warnings
2019-11-22 09:48:58 +08:00
Ding Xiang Fei
608aa276ab
add safeguard against contention to check target partition row counts
2019-11-22 09:48:57 +08:00
Nikita Mikhaylov
762d295ab0
Merge pull request #7780 from ClickHouse/aku/parallel-parsing
...
Merging parallel format parsing
2019-11-22 01:54:47 +03:00
alexey-milovidov
420aeb25a4
Update MySQLHandler.cpp
2019-11-20 07:30:00 +03:00
Yuriy
5be62948bc
merged master
2019-11-20 02:34:05 +03:00
Yuriy
1bf4d21c67
more precise error messages in MySQL protocol
2019-11-20 02:27:30 +03:00
Yuriy
21cc7ae25e
enabled MySQL compatibility server when ClickHouse is compiled without SSL
2019-11-20 00:10:21 +03:00
Alexander Kuzmenkov
9a2b864940
Cleanup
2019-11-19 21:42:51 +03:00
Andrei Bodrov
a2b5989177
BrotliReadBuffer refactoring
2019-11-19 16:57:54 +03:00
Alexander Kuzmenkov
7e5731d64e
Merge remote-tracking branch 'origin/master' into HEAD
2019-11-19 16:15:47 +03:00
Andrei Bodrov
8cbc52e711
add gzip read/write to file/s3/url/hdfs
2019-11-19 15:46:07 +03:00
Vitaly Baranov
681f03c625
Merge pull request #7653 from vitlibar/skip-unknown-settings-with-warnings
...
Skip unknown settings with warnings.
2019-11-18 13:50:52 +03:00
Vitaly Baranov
f3d72b9ec1
Skip unknown settings with warnings.
2019-11-17 03:51:58 +03:00
Amos Bird
755904f51f
better INCLUDE_DEBUG_HELPERS
2019-11-16 00:34:43 +08:00
alexey-milovidov
698cb6c3ee
Merge pull request #7743 from dmitriy-myz/fix-mysql-wire-auth
...
MySQL wire protocol: wrong source ip
2019-11-14 20:33:17 +03:00
alexey-milovidov
5017a090bf
Update MySQLHandler.cpp
2019-11-14 20:32:56 +03:00
Alexander Kuzmenkov
7f34c0089c
Merge remote-tracking branch 'origin/master' into HEAD
2019-11-14 18:53:36 +03:00
alexey-milovidov
ed5e4cd4b5
Merge pull request #7760 from amosbird/clientfixexit
...
Fix multi query exit for clickhouse-client
2019-11-14 12:50:31 +03:00
Amos Bird
646c5f124c
Enable bracketed-paste in certain case only.
...
Only enable bracketed-paste when multiquery is on and multiline is off.
2019-11-14 09:02:51 +08:00
Amos Bird
f5688e6046
Fix multi query exit for clickhouse-client
2019-11-13 23:45:23 +08:00
Dmitry Muzyka
38f34bd437
fix detection of remote ip
2019-11-12 22:57:39 +03:00
Amos Bird
5a28f1dee9
fix utf-8 paste
2019-11-12 20:17:57 +08:00
Maksim Fedotov
0403444f14
support clickhouse as mysql federated server
2019-11-11 17:31:12 +03:00
Vasily Nemkov
4ac21ca6ba
PR-review fixes: handling bad value of 'external_table_functions_use_nulls' param, fixed typo
2019-11-08 14:30:11 +03:00
Vasily Nemkov
5624bb3abb
odbc table function now respects external_table_functions_use_nulls setting
...
* Passing setting value to ODBC-bridge on each request
* Handling that setting value correctly in ODBC-bridge
* Fixed issue with executing table-functions on context with no settings
applied in `SELECT ... SETTINGS x=foo` query.
* Added tests to verify fix.
2019-11-08 14:30:11 +03:00