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 2021/11/26 10:21:50 UTC
[GitHub] [shardingsphere] jingshanglu commented on a change in pull request #13813: Support set autocommit
jingshanglu commented on a change in pull request #13813:
URL: https://github.com/apache/shardingsphere/pull/13813#discussion_r757385528
##########
File path: shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnection.java
##########
@@ -93,6 +93,8 @@
private final Map<String, StatementMemoryStrictlyFetchSizeSetter> fetchSizeSetters;
private final AttributeMap attributeMap;
+
+ private boolean autoCommit = true;
Review comment:
A `BackendConnection` only be used by one session, Do not use `volatile`, performance should be better.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org