* Skip the `/* comments */ SELECT @@variables ...` from mysql-connector-java setup for MySQL Handler #9336
mysql-connector setup query:
/* mysql-connector-java-5.1.38 ( Revision: ${revinfo.commit} ) */SELECT @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_connection, @@character_set_results AS character_set_results, @@character_set_server AS character_set_server, @@init_connect AS init_connect, @@interactive_timeout AS interactive_timeout...
ClickHouse side Error:
{} <Error> executeQuery: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST, NULL...
Client side Exception:
java.sql.SQLException: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST...
* add repalce 'SHOW VARIABLES' for mysql-connector-java-5.1.34 #9336
* Add java client(JDBC) integration test to test_mysql_protocol
* shift out java tests from dbms
* Update MySQLHandler.cpp
* Update MySQLHandler.cpp
* test_mysql_protocol: add Test.java exit code 1 when expection
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
The following has been used for this:
git grep '^CREATE' tests/queries/**.reference | cut -d: -f1 | sort -u | xargs -n1 -i sh -c 'show-create-rewrite.py < {} | sponge {}'
show-create-rewrite.py is available here:
https://gist.github.com/azat/916b98b5ddf9573f7dc9a4dce33b59b5
And for 00998_constraints_all_tables test FORMAT TSVRaw I simply drop.
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/operations/system_tables.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* "docs(system.settings): Table 'system.settings' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries' has been edited"
* "docs(system.dictionaries): Table 'system.dictionaries has been edited"
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>