You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/07/03 06:58:38 UTC

[GitHub] [shardingsphere] 1006572352 commented on issue #6239: Unknown system variable 'transaction_isolation'

1006572352 commented on issue #6239:
URL: https://github.com/apache/shardingsphere/issues/6239#issuecomment-653386588


   > @1006572352 Hi ShardingProxy would not try to find `transaction_isolation`. It just transfers the requests from users or APPs to the lower database cluster.
   > 
   > > sharding-proxy are trying to find the variable ‘’transaction_isolation‘’,but mysql 5.6 don't have the variable 'transaction_isolation' instead of 'tx_isolation'。
   
   but when I test sharding-proxy-4.0.1, it correctly identified parameter ‘tx_isolation’.
   ===logg/stdout.log
   [INFO ] 14:55:37.382 [ShardingSphere-Command-0] ShardingSphere-SQL - Rule Type: sharding
   [INFO ] 14:55:37.382 [ShardingSphere-Command-0] ShardingSphere-SQL - Logic SQL: /* mysql-connector-java-5.1.47 ( Revision: fe1903b1ecb4a96a917f7ed3190d80c049b1de29 ) */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, @@collation_server AS collation_server, @@collation_connection AS collation_connection, @@init_connect AS init_connect, @@interactive_timeout AS interactive_timeout, @@license AS license, @@lower_case_table_names AS lower_case_table_names, @@max_allowed_packet AS max_allowed_packet, @@net_buffer_length AS net_buffer_length, @@net_write_timeout AS net_write_timeout, @@query_cache_size AS query_cache_size, @@query_cache_type AS query_cache_type, @@sql_mode AS sql_mode, @@system_time_zone AS system_time_zone, @@time_zone AS time_zone, @@tx_isolation AS transaction_isolation, @@wait_timeout AS wait_timeout
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org