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 may 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to