terrymanu commented on a change in pull request #3165: Support time server
database for issues 1497
URL:
https://github.com/apache/incubator-shardingsphere/pull/3165#discussion_r330527876
##########
File path:
sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/connection/BackendConnection.java
##########
@@ -53,18 +54,22 @@
public final class BackendConnection implements AutoCloseable {
private static final int MAXIMUM_RETRY_COUNT = 5;
-
+
+ private static ThreadLocal<BackendConnection>
BACKEND_CONNECTION_THREAD_LOCAL = new ThreadLocal<>();
+
+ private static ThreadLocal<Date> DATE_THREAD_LOCAL = new ThreadLocal<>();
+
private volatile String schemaName;
-
+
private LogicSchema logicSchema;
-
+
private TransactionType transactionType;
-
+
private boolean supportHint;
-
+
@Setter
private int connectionId;
-
+
Review comment:
Can you do not change format of code?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services